• 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 use apply @Remote/@locate on Session bean Implementation class

 
Ranch Hand
Posts: 634
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Source:Ivan Krizsan's OCPEJBD 6 (CX-311-093) study notes

2.2. Create a Stateful Session Bean with a Local Business Interface



The @Local annotation can be applied to both the session bean implementation class, in
which case it also needs to specify which interface(s) defines the local view,

The @Remote annotation can be applied to both the session bean implementation class, in
which case it also needs to specify which interface(s) defines the remote view,



Please let me know how can @Local/@Remote annotation be applied to both the session bean implementation class.
I had tried the below syntax but it seems to be incorrect(Here,StatefulSessionRemote is remote business interface and StatefulSessionBean is session bean implementation class):

 
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this:
Regards,
Frits
 
Mohit G Gupta
Ranch Hand
Posts: 634
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Frits
reply
    Bookmark Topic Watch Topic
  • New Topic