Re: JavaBeans in Cocoa
Re: JavaBeans in Cocoa
- Subject: Re: JavaBeans in Cocoa
- From: John <email@hidden>
- Date: Wed, 28 Apr 2004 15:20:33 +0100
Hi,
Correct me if I'm wrong, but I think the op was asking about Java Beans
as opposed to Enterprise Java Beans...
As in can they be used like a cocoa plug-in in Interface Builder...
John.
On 27 Apr 2004, at 12:31, Steve Franks wrote:
Yes, its quite possible, I do it frequently!
Basically, just like a Swing client, you need the "client" side JAR
library from the EJB application, and maybe the JNDI setup file
(properties).
Just working on getting the new "bindings" to work with my
Cocoa/Java/EJB, seems like it will be a good for popup menus from a
list of EJB value objects.
The JBoss J2EE app server is a custom install on the developer cd (and
now a new stand-alone download from apple developer web site)
The biggest "gotcha" for Cocoa/Java imho are:
+ You get some unhelpful error messages sometimes
+ If you pass a Java object over to Cocoa-land (e.g. the owner of a
NIB you are loading, or table source) you must make some artificial
java reference to it to prevent it from getting garbage collected,
thus causing a seg fault in the cocoa program.
On Apr 26, 2004, at 22:44, Christian Kaiser wrote:
Hi,
I'm quite new to Cocoa, so it might be a stupid question...
Is it possible to integrate JavaBeans into a Cocoa-Java-Application?
If
so, does somebody have an example, or documentation?
I've got a huge library in a couple of JAR-files and in this library,
there are some JavaBeans as well.
Thanx!
Chris
_______________________________________________
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.
Steve Franks
adenzo software - http://www.adenzo.com/
_______________________________________________
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.
_______________________________________________
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.