cancel
Showing results for 
Search instead for 
Did you mean: 

EJB2 on HanaCloud

Former Member
0 Kudos

Though, OpenEJB supports EJB2, I am not able to get EJB2s deployed on the Server, I have tried many different ways.Is there a sample I can try out for this?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Actually, we were able to get it working. By adding ejb-jar.xml in WEB-INF instead of META-INF.

Answers (1)

Answers (1)

Vlado
Advisor
Advisor
0 Kudos

Only the Web Profile is supported in SAP HANA Cloud Platform (not the full Java EE) and I'm afraid EJB 2.x is not part of it.

Former Member
0 Kudos

Actually, we were able to get it working. Do you think it is unsafe to use it? Are you sure it is unsupported?

Attached is the project which uses ejb2 on hana.

Vlado
Advisor
Advisor
0 Kudos

The spec is not very clear about this point. It says only Local and No-interface view is supported, however it does not list Local Home/Component view as unsupported (as it does for Remote Home/Component). In any case, I would recommend to use EJB 3.x (EJB 2.x is so archaic and clumsy) - unless you have a legacy application built for EJB 2.x.