Results 1 to 8 of 8
  1. #1
    maninder is offline Member
    Join Date
    Sep 2011
    Posts
    5
    Rep Power
    0

    Default Tracking User Activity in Swing

    I am using Swing along with Oracle 9 at the back end.My application is big and I have many tables in the DB..I want to track users activities in my application..What would be the simplest way???????

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Tracking User Activity in Swing

    Some form of auditing mechanism?
    Either attached to your gui/business layer boundary or the business/database layer boundary, depending on whether it's user activity or data modification you are monitoring. Spring (I think) has an auditing mechanism.

    Beyond that, your "requirement" is pretty open, so anything approaching a detailed answer is not possible.

  3. #3
    maninder is offline Member
    Join Date
    Sep 2011
    Posts
    5
    Rep Power
    0

    Default Re: Tracking User Activity in Swing

    Is it possible to implement Google Analytics in Swing Application????? In Goggle analytics google asks to insert some JavaScript code in every page of the application, the code includes browers objects but my application is not running in the brower so where to write the JS code???

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Tracking User Activity in Swing

    Sounds a bit excessive...especially since you'd have to figure out how to shoehorn a Javascript web-analysis tool into a Swing app.

  5. #5
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Tracking User Activity in Swing

    This is the sort of thing I was thinking of (and have used).
    Spring AOP.
    Specifically the stuff around @Auditable.

  6. #6
    maninder is offline Member
    Join Date
    Sep 2011
    Posts
    5
    Rep Power
    0

    Default Re: Tracking User Activity in Swing

    It would be very nice of you if you could share source code atleast some part of your source code where you have implemented this.

  7. #7
    maninder is offline Member
    Join Date
    Sep 2011
    Posts
    5
    Rep Power
    0

    Default Re: Tracking User Activity in Swing

    This is what I need but how to implement this in Java Swing?

  8. #8
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,224
    Rep Power
    20

    Default Re: Tracking User Activity in Swing

    I don't know how you'd implement it, but in any case it wouldn't be "in Swing".
    It would be in your business layer or db layer (well, the boundary anyway).

    You'll need to learn Spring, frankly. It's not something a website forum like this can cover.

Similar Threads

  1. Replies: 1
    Last Post: 09-12-2011, 03:09 AM
  2. New AWT/SWING user, help in JButton
    By corrax in forum AWT / Swing
    Replies: 7
    Last Post: 04-02-2011, 04:27 AM
  3. applet and system activity
    By rafzio4 in forum New To Java
    Replies: 0
    Last Post: 10-20-2010, 01:58 PM
  4. Help Please Override Activity with Android
    By francojava1 in forum Android
    Replies: 2
    Last Post: 10-12-2010, 07:35 PM
  5. Java Swing Gui Slow init on Solaris user
    By markonthego in forum AWT / Swing
    Replies: 0
    Last Post: 09-13-2010, 10:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •