on 05-12-2005 7:19 AM
hi
i created one sample ejb appication and jar the same and then trying to import the same as model(using option like Import JavaBean Model) in my webdynpro,but is giving error there are no java beans to import.
is it possible to import ejbbean like normal javabean?
if yes,why the above problem is coming?
can anyone give the solution?
thanks in advance
Vasu
Hi,
You can't import Ejbs using simple JavaBean importer.
You need to create simpleBean not EJB.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Satish,
thank you for reply.
this way i already implemented and it was worked fine.
we can not suggest to publish our own ejb component as webservice right?
and i am thinking one more way of doing that is, we can implement one value bean(normal java bean to communicate ejb component internally)and import that jar as our model class in webdynpro.
is this scenario will work?
if this works,then how to make jar file which is maintain the both javabean and ejbcomponent as one thorugh NWStudio.
Thanks
Vasu
Hi
I think u can make this bean as part of EAR application, or u can create new project with this bean, export it to jar file, and include to webdynpro application. I suppose that this is implementation of model
ejb -> bean -> webdynpro
I have tried something like this and that works
Regards Bogdan
Message was edited by: Bogdan Rokosa
With my englisch that will dificult a little
but I can try
I have a application with ejb in persistant leyer. The ejb communicate themselve with the rest of the world via DTO's (DataTransportObject's) That are normal bean's and this bean have i imported as model.
Bogdan
Message was edited by: Bogdan Rokosa
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.