+ 1
Limitations of EJB
EJB is very old framework and this thread is started to discuss the limitations and problem's which developers face in real world.
1 Respuesta
0
1.The no file I/O is a security concern. By loading files using Class.getResource() and bundling non-EJB config files with EJB-jar.
2. While mapping a CMP bean with SQL Server database, a field of float type need to be mapped with database column of type FLOAT only, not for REAL.
3. A table which has a multi-column primary key and one or more foreign keys which share any one of the primary key columns, then the foreign keys must contain columns which are not of primary key or exactly the same primary key columns.
4. For Example: the two columns that comprises a primary key are A and B. Then the columns that comprises a foreign key are column A and column B or column C and column D, but certainly not column A and column D or column B and column C or column A and column C or column B and D.
5.While using root-leaf approach in order to map inheritance, the foreign-key constraints are to be removed from the database for avoiding referential integrity related issues. The same process is to be followed while us