Accessing EJB's from Objective-C?
Accessing EJB's from Objective-C?
- Subject: Accessing EJB's from Objective-C?
- From: Matthew Lehrian <email@hidden>
- Date: Sun, 17 Mar 2002 21:39:55 -0500
Hi all,
I've been struggling with an application architecture in which I can
provide a JSP-based web UI and a Cocoa application. I'd like to build a
multi-tier system. Ideally, I'd be using WebObjects (if WO for ObjC was
still around :-( ). However, now my sights have set on EJB. The web
side is a no-brainer, but what's the best way to access EJB's from
Cocoa? My options include:
1) ObjC-to-Java bridge in Cocoa application. This seems pretty
straight forward, although I'm not sure about the performance/stability
of this solution. And I'm not convinced that Apple will maintain this
forever.
2) Use CORBA from Cocoa. I have been looking for info on the OAK ORB
from Paragon Software, but all the links I found are dead. Is this
still around? Has anyone used it? Has anyone used any other CORBA
ORB's with C bindings on Mac OS X? This seems like the best option to
me at the moment, but I need to find a free ORB that runs on OS X with C
or ideally Objective-C bindings and I'm concerned about EJB
interoperability. I know it should work in theory, but we all know how
theories are.
3) Use SOAP. My concerns here are session management and programming
model. I'll probably end up writing my own remote object infrastructure
based on SOAP so the client looks like it's working with an object and
the SOAP code is hidden from the client. This seems like a lot more
work than options 1 or 2, although it's probably something that would be
really useful to the Cocoa programmers out there that want to write
multi-tier systems.
4) Write my own Objective-C based middleware and provide DO access to
the client and write a cgi to allow http access from the web client.
This feels a lot like WebObjects for ObjC and probably isn't very
realistic for me to write on my own in the evenings in addition to
writing the actual application.
5) Other options????
Thanks for your help!
Matthew
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.