Thanks for the reply weberjn. After a bit of discussion tonight we've
decided to target Glassfish and deal with porting to another application
server if it ever needs to be done.
I felt like I was spending as much time ensuring our application was
portable as I was doing actual work. Almost all of the books, tutorials
and docs that I've seen tend to explain how to do things for a specific
application server. I found it almost impossible to find Java EE
examples that showed how to do things in a vendor independent manner.
However, if anyone is aware of a sample EE application (.ear) that will
run on multiple application servers without modification I'd still be
interested in looking at it just for fun.
Ryan
glassfish_at_javadesktop.org wrote:
> Did you try the RMI over IIOP way?
>
> From
> http://java.sun.com/j2se/1.4.2/docs/guide/rmi-iiop/tutorial.html
>
>
> // STEP 1: Get the Object reference from the Name Service
> // using JNDI call.
> objref = ic.lookup("HelloService");
> System.out.println("Client: Obtained a ref. to Hello server.");
>
> // STEP 2: Narrow the object reference to the concrete type and
> // invoke the method.
> hi = (HelloInterface) PortableRemoteObject.narrow(
> objref, HelloInterface.class);
> hi.sayHello( " MARS " );
> [Message sent by forum member 'weberjn' (weberjn)]
>
> http://forums.java.net/jive/thread.jspa?messageID=204935
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>