I'd love to learn more about real production applications using entity ejb. I think ebay uses j2ee.
Lasse, what kind of application did you work on? 50 entity beans and "some 200 session beans and a dozen or two message-driven beans" just sounds crazy to me. Can you educate me on why you used so many ejbs? How long did a full application build take?
Mathew:Lasse do you think that application with 50 entity and 200 session beans is a good design.I mean Ofcourse it depends on the size of the application. Use ejb for projects having lot of transactions because application server will take care of this part.
A cluster of very big Sun boxes running Solaris. That's about all I can say.
What kind of hardware platform are u using to run this application on?
Plan out hot deployments? I'm not sure if I follow but if you're talking about whether we hot deploy during development, then yes, always when possible. Unfortunately, one of the big screw-ups we have to suffer is that most of the stuff is loaded by the system classloader and thus cannot be redeployed by our appserver.
And for your build, do you plan out hot deployments? do u go through a clean install each time?
Originally posted by Lasse Koskela:
The full build takes anything between 5 and 30 minutes, depending on how "clean" the build is (i.e. how much stuff can be skipped with a timestamp check).
But did you actually mean that you spend most time on "ejbc" ing your beans. I mean is that the reason your build takes so much time to execute?. Unless the tables are real huge with really complex CMRs, i kind of think that even 15 minutes is too much for "ejbc" ing 50 beans.
So, what do you do when u have to deploy to your 'live' application server?
We are struggling to find a workable compromise where the customer does not suffer a loss of service while an application install is going on.
what we do not have (and therefore manage this action smoothly)is a backup domain which can continue to run the 'old' version of the application while a new one is being installed.
Do u manage similarly or is it different?