• 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

EJB3 and IIOP

 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

I am currently working with EJB3 and JBoss and I am wondering
if anybody knows sth about EJB3 and distributed systems.
The interface a remote java client gets from the Namingservice is a plain java interface that does not extend java.rmi.Remote.

a) Why is it working with a standalone client?
b) What about a native C++ client?

Does anybody have an answer?
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Marco,
Currently working on EJB3 on JBOSS??/Does latest version of JBOSS support ejb3.0???
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

yes, JBoss supports EJB3 almost entirely (at least, what has been specified 'til now) plus some enhancements like message driven pojos, simplified packaging for EJB3 entity beans (no need for the *.par archive).
You have to install some additional MBean Services like ejb3.deployer and aop-jdk50.deployer, 'cause EJB3 works with Annotations.

But the problem is that they are working with JRMP. With Java5, no stub generation is needed for homogenous systems, but Idon't have a clue what about IIOP. The EJB Spec does not mention anything. It just deals with IIOP and EJB2.1.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi:

I am looking forward for the days where JBOSSAS+EJB3+CORBA/IIOP is released. It seemed like development for JBOSS Remoting is a bit slow comparing to the other Jboss componenets.

Yusof
 
author
Posts: 304
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

a) Why is it working with a standalone client?



The interface is a regular business interface, but the Container-generated implementation class is Remote. The Container has to do all the work under the covers.

b) What about a native C++ client?



IIOP is a different matter. Because the business interface is not Remote there are problems compiling with IIOP. Those who need interop may need to stick with the core EJB model and not use the simplified layer, at last for now.

-Mike
 
reply
    Bookmark Topic Watch Topic
  • New Topic