I made the simplest possible EJB and CORBA lookup here:
https://github.com/THUFIR/GreeterEJB
because the few examples I found, either on Netbeans forums, or just
Google, weren't that useful:
http://netbeans.dzone.com/nb-call-ejb-on-glassfish
was sortof, almost there.
Some gotchas, at least from my perspective, not adequately addressed by
the dzone sample:
where to put the EJB library with the remote interface in GF..
what the classpath requirements are for the project(s)
how to (easily) execute the corba lookup with glassfish appclient -client
I might've overdone the classpath requirements, so I'll probably update
the project(s), but the point is that, at least for me, I wasn't able to
find a single, not one, document with all of the above material. I
might add that it's quite useful to read the log to confirm the
glassfish specific CORBA lookup string(s).
I don't mean to come off as grouchy, it's just that from time to time
I've come back to CORBA, because it's intriguing, but the documentation
is either overly broad, or, like the dzone example, a bit too simple.
I've spent far too much time trying to figure out classpath issues, GF
config and appclient usage. I know that this material is in the manual,
but it's, IIRC, somewhat dispersed.
In any event, I'd like to see more documentation on CORBA.
I know it's a NB doc, but this is interesting, by the way:
https://netbeans.org/kb/docs/javaee/entappclient.html
it would be quite a bit more interesting if the doc's took it to the
next stage for a working remote example. (Which was why I turned to
CORBA, speaking for myself.)
-Thufir