-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Reasons for using InstrumentTask
PostPosted: Mon Feb 20, 2012 6:21 pm 
Regular
Regular

Joined: Tue Nov 30, 2004 4:23 pm
Posts: 62
We are using Hibernate 3.6.9/JPA 2.0 (persistence.xml and orm.xml files), and I am looking for ways to help my applications startup time and memory footprint. The problem isn't specifically how I am using Hibernate, it's just that I am looking for ways in each of the frameworks I use to streamline the startup of the applications.

I have read the documentation on InstrumentTask and as a newbie to this topic, it's a little confusing to me.

Could I ask what the main reasons are for looking into using InstrumentTask during compile time?

Would this help the startup of my application and some of the initial memory footprint since this operation is being done during compile time as opposed to runtime? And is this reason enough to attempt the migration to using this feature?

One last question, is there a simple resource that describes how to implement this when using orm/persistence files? Do I just change the fetching mode for all associations to proxy and use the sample AntRun tasks to perform the instrumentation during the compilation of my jar file?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.