• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to use ejb3 in ejb2 using xdoclet

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Please go through the following link for the answer.

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

Bharath
 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic