• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to use ejb3 in ejb2 using xdoclet  RSS feed

 
jayabharatha reddy sadanagiri
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have an EJB2 project, in this project xdoclets have been used. Now I have written an EJB3.0 stateless session bean. I am trying to use the EJB3.0 stateless SB in 2.0 MDB that has xdoclets. I have declared like the following
view plaincopy to clipboardprint?

But I am getting the following compile time exception.

Any help can be appreciated.
Thanks,
JB
 
jayabharatha reddy sadanagiri
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please go through the following link for the answer.

http://community.jboss.org/thread/158487

Bharath
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Xdoclet is from some 3rd party API just for helping like genearting xml files or some code , which will done by IDE's these days .
So better suggest don't use Xdoclet whose learning curve is big and waste your time on this .

SO for standard coding , which will be much easier , so for your question

I am trying to use the EJB3.0 stateless SB in 2.0


For accessing ejb 3 beans the look up coding is not standardized yet and depends on server .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!