Hi,
I have two options for using hibernate in my system.
1 ) WEB LAYER - POJO - Hibernate
2 ) WEB LAYER - SESSION EJB - Hibernate
I'll be using JBOSS for deploying the application.
I have few questions in mind before I decide on the final way of developing the application.
1) Scalability : If I go by WEB LAYER - POJO - Hibernate. will it be scalable and able to sustain the load
as I am expecting 24 X 7 & and around 15 million hits during monday-wednesday.
2) Performance : While developing (a primitive ) prototype i obeserved that session EJB way becomes faster for any consucutive hits after the first initialization hit. So whch way i'll get the maximum performance.
3) I undersatnd that I'll loose declarative transaction,remotability etc if i choose POJO..what advantages i could get from POJO in conjuction with hibernate if any?
4) Which way will shorten the development time?
If there are any tradeoffs or any other available options, I would like to know about them.
Thanks,
Ad
|