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 / November 2006

Tip: Looking for answers? Try searching our database.

Regarding Audit Trailing

Thread view: 
Ravi Shankar Nair - 06 Nov 2006 13:28 GMT
Dear all,

We have a very complex financial application based on Apache Struts. We
would like to have an audit trailing feature. Assume that we send some very
complex objects( which in turn contains other inner objects and so on) to an
MQ asynchronously. The receiving program is a cron job which picks up the
messages from the MQ at regular configurable intervals of time. This
receiving program will fill the field in a database, which will be used for
generating a report.

Now the problems are:-
1) The objects which we put in the queue are different, so we dont have a
specific set of fields for database

Your help is appreciated, if I can have

an open source utility which will make these things simpler..

Any help is welcome, please

Warmest regards,
Ravi
KS - 06 Nov 2006 13:42 GMT
> Now the problems are:-
> 1) The objects which we put in the queue are different, so we dont have a
> specific set of fields for database

You could use XML in the message that you put in the message queue and
based on it, populate the database fields.
Simon Brooke - 06 Nov 2006 20:57 GMT
> We have a very complex financial application based on Apache Struts. We
> would like to have an audit trailing feature. Assume that we send some
[quoted text clipped - 7 lines]
> 1) The objects which we put in the queue are different, so we dont have a
> specific set of fields for database

Define a table in the database for each type of object you may queue.

As an aside I strongly dislike the notion of batching up these objects and
then inserting them in a separate process. Why can you not insert them
into the database immediately? In an application where integrity of data
is critical, the fewer intermediate operations there are the better
(indeed I would not create application layer Java objects to represent the
data, I'd slam it straight into the database because once it's there it's
safe; but that's perhaps an extreme view).

Signature

simon@jasmine.org.uk (Simon Brooke) http://www.jasmine.org.uk/~simon/

       ;; So, before proceeding with definitive screwing, choose the
       ;; position most congenital.
                       -- instructions for fitting bicycle handlebars



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.