I have an architecture scenario and I would like to discuss to get your opinion.
I can choose between these two (this is a constraint imposed on me)
- Use EJB3+JPA - no Spring/Hibernate
- POJO + JDBC - again no Spring/Hibernate
I have series of web applications (only intranet) that all need to be integrated. At database level, there will be 3 to 4 oracle databases (and about 40 to 50 tables per database). Some applications may interact with more than one database for some queries. Number of concurrent user(s) will be less than 100. User/audience per application will range from 10 to 6000 (max).
All applications will be deployed on one server, and it's very likely that database and server could be on the same machine.
Most of the use cases will be CRUD based (some can offer a good domain model for an ORM while others may not), with some business process, automated jobs etc There may be a future need to integrate with SAP for some applications.
Do you think EJB3 in this case will make the application more scalable or just add complexity? If I design with POJO, will an application of this I don't want to add complexity for no good reason. I tried to lobby for Spring and Hibernate but no success.
let me know if you need more details.
EDIT: I forgot to mention the application server. it's WAS 7.