Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

To Track LoggedIn users to a system in JAVA

Thread view: 
Raja - 19 Dec 2007 04:28 GMT
Scenario : i have the requirement where i need to
update a Table A and along with i have to insert a record in Table B.

We have a system , where we can create Users, and assign resources,
permission to the users,
When ever we create a user ,a record will Insert in the Table A,like
USER_NAME,STATUS,CREATION_TIME,LAST_ACCESSED_DATE, and so when ever
the User get login into the system,,LAST_ACCESS_DATE is getting
updated , with a update query being excuted.

I have a requirement i have to capure all the Logged -In users to the
system and get the details being stored in a database Table B.

Requirement: when ever the user gets logged In ,LAST_ACCESSED_DATE in
Table A and
users details should be get updated in the Table B
like USER_NAME,LOGIN_TIME in one shot.

Please let me know the approach for this in Java.

Any help in this is greatly appriciated.
Sabine Dinis Blochberger - 19 Dec 2007 09:38 GMT
> Scenario : i have the requirement where i need to
> update a Table A and along with i have to insert a record in Table B.
[quoted text clipped - 17 lines]
>
> Any help in this is greatly appriciated.

That shouldn't be too complicated.

Please see http://java.sun.com/docs/books/tutorial/jdbc/index.html
for fundamentals about JDBC.
Signature

Sabine Dinis Blochberger

Op3racional
www.op3racional.eu



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.