Originally posted by rajaji 007: how can the container can be forced to execute ejbLoad() first
I am confused... execute ejbLoad() first? First in relation to what? Please explain your question in more detail.
Vinod John
Ranch Hand
Joined: Jun 23, 2003
Posts: 162
posted
0
Originally posted by rajaji 007: how can the container can be forced to execute ejbLoad() first
During the (entity) ejb lifecyle ejbLoad is called before the bean becomes available for use and also the container calls ejbLoad before starting a transaction. Most appserver has a property that indicate whether the database is shared by multiple application you set it appropriatly to call ejbLoad ever time the bean is accessed (by calling finders), though this would take away the benefit of using entity EJBs. So now when do what ejbLoad to be forced ? [ August 17, 2003: Message edited by: Vinod John ]
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.