• 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

XDoclet vs Vendor GUI

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been reading Ed Roman's Matering EJB 2.0 he talks about methods vendors us to achieve clustering. Two of the paradigms he mentions involve code manipulations in the home stub and the remote stub.
Now my understanding is the XDoclet package generates the Home and the Remote Stub. So to use Xdoclet and have the benefit of decoupling an application from its server, one must sacrifice the vendors ability to achieve clustering through these techniques.
Am I understanding this correctly?
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Bob Fred:
Now my understanding is the XDoclet package generates the Home and the Remote Stub. So to use Xdoclet and have the benefit of decoupling an application from its server, one must sacrifice the vendors ability to achieve clustering through these techniques.


The Home and Remote interfaces of an EJB are just plain Java Interfaces. The Application Server is responsible for providing an implementation for these interfaces. The implementations of the Home and Remote interfaces are commonly referred to as the Home and Remote stubs. XDoclet saves you the hassle of writing these interfaces, it does not change how the Application Server uses them.
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic