File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB3 and IIOP

 
Marco Barenkamp
Ranch Hand
Posts: 94
  • 0
  • Mark post as helpful
  • send pies
  • 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?
 
domi o'brian
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Yusof CC
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Mike Keith
author
Ranch Hand
Posts: 304
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic