-2

Technology I'm using: JavaEE7, JSF2.2.

I have one project called "entity" which contains all the entity, repository, DAO (Stateless EJB).

Other projects will import "entity" project and use this project to connect to DB. The problem is that "entity" project contains over 5000 EJB, and this takes a lot of time for loading.

But in reality, each project only uses hundreds of EJB.

Can I have a way to load only EJBs that I will really use, without loading all 5000 EJBs. For example: define needed EJBs in .xml file

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
NamNVH
  • 11
  • 2

1 Answers1

0

Split the "entity" project in reasonable parts.

Arigion
  • 3,267
  • 31
  • 41