on 02-23-2016 9:07 PM
Hi Experts,
Is there any guide on how to create adapter Module using EJB 2.1? Our PI system is 7.3, it got a deployment warning when I create the adapter module using EJB 3.0
Thanks in advance
Blue
Hi Blue
PI 7.3 onwards supports EJB 3.0 and I'd recommend using EJB 3.0 because it is slightly simpler.
The reason you are getting warning during deployment is most likely because there are mismatches within your EJB project - certain objects are using EJB 3.0, while others are using EJB 2.1.
For example, I noticed you might be using Ryan's code from your other thread. The class implements SessionBean which is no longer required in EJB 3.0.
If you still want to fix it for EJB 2.1, can you share the contents of the following two files in the META-INF folder:-
Alternatively, if you want to go ahead for EJB 3.0, you can try using the approach mentioned in my blog below which provides a consistent EJB 3.0 template to work with. You just then need to copy & paste your codes into the process() method (don't replace the whole class to ensure it is still in EJB 3.0).
Regards
Eng Swee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer the Thread & blogs.
https://scn.sap.com/thread/3451616
Blog talks about module creation in 7.1 but it still uses EJB 2.1 and work for 7.3 as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.