I have an architecture script and would like to discuss to get your opinion.
I can choose between these two (this is a restriction imposed on me)
- Use EJB3 + JPA - no Spring / Hibernate
- POJO + JDBC - again no Spring / Hibernation
I have a number of web applications (intranet only) that need to be integrated. At the database level, there will be 3 to 4 oracle databases (and 40 to 50 tables per database). Some applications may interact with multiple databases for some queries. The number of simultaneous users will be less than 100. The user / audience for each application will vary from 10 to 6000 (max.).
All applications will be deployed on the same server, and it is very likely that the database and the server can be on the same machine.
Most use cases will be based on CRUD (some may offer a good domain model for ORM, while others may not), with some business processes, automatic tasks, etc. You may need to integrate with SAP for some applications in the future.
Do you think that EJB3 will make the application more scalable in this case or just add complexity? If I will develop using POJO, this application I do not want to add complexity without a good reason. I tried to lobby Spring and Hibernate, but did not succeed.
let me know if you need more information.
EDIT: I forgot to mention the application server. it was 7.
source
share