EJBs are a whole other can of worms. If you want to learn about EJBs, I highly suggest you take a course on them and read lots of books. EJBs are a HUGE topic. You'll also need to know what RMI is to really grasp what EJBs are all about.
----- Original Message ----- From: Joe Eugene <[EMAIL PROTECTED]> Date: Wednesday, July 17, 2002 11:25 am Subject: RE: MX and Javabean tutorials? > Would be nice to see some good examples of creating and invoking > EJB... classes etc.. CFMX docs dont help much. > > Joe > > -----Original Message----- > From: Kwang Suh [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 3:12 AM > To: CF-Talk > Subject: RE: MX and Javabean tutorials? > > > Find a Java book from your favorite publishing company that has a > chapter on > Java Beans. Really, I'm not kidding, you can't write more than a > chapter or > two on the Java Bean Spec. > > I'll give you the basics (which is like 90% of the spec :) > > You have to specify any init method that instantiates the object. > > You must have getXXX() and setXXX() methods that allow you to > access the > data within the object. > > Ok, there you go. You should be able to introspec the bean to > list the > getXXX and setXXX methods. There should be javadocs, or some > other form of > documentation with any half-decent third party product. > > As for integrating with CF: Instantiate the bean. Call the public > methodson the bean. > > Want to know the other 10%? Beans exist because of Remote Method > Invocation(RMI) > > EJBs are another sort of spec, much different than Java Beans. > > > I don't think most CF developers are going to care > > to learn every Java concept to find out either, because then they > > would be Java developers. > > Well, you're asking about a Java topic. And Java Beans is about > .00001% of > what Sun provides with the J2SE SDK. There's a TON of stuff that CFMX > shields/hides/makes inaccessible from you. Trust me, you're not > even close > to being a "Java developer" just because you know what a Java Bean is. > > > > -----Original Message----- > > From: Jon Hall [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, July 17, 2002 12:50 AM > > To: CF-Talk > > Subject: Re: MX and Javabean tutorials? > > > > > > I just haven't had a reason to learn the Javabean concepts > > beyond the basics until now, since we run Windows servers, I've > always> been a COM guy, and Java was just an interesting learning > experience,> and I'm still not interested beyond what I need to > integrate with CF. > > > > I'm just interested in seeing a tutorial with a real world > example how > > I would integrate a Javabean that I bought in Jar format from > > some company. In my case, I am looking at the IPWorks SSL > package, and > > a PDF library. I've already compiled and run a few of the demo apps, > > now I want to try running the code in a CF page. > > I also have no clue what the difference between an Enterprise > Javabean> and a regular Javabean is, does it matter to me? The > Macromedia> article mentions using cfimport to use jsp tags > packaged in a jar, but > > not javabeans...now I recall that using jsp tags and servlets via > > cfimport was an enterprise edition only thing, but it makes no > mention> of this in the article. Is there an issue like this with > Javabean jar > > > > This stuff where a tutorial becomes useful to me. Thanks for > your most > > enlightening post though. > > > > -- > > jon > > > > Wednesday, July 17, 2002, 1:04:23 AM, you wrote: > > KS> "Java Beans" is nothing but a specification on how you show > > write an init > > KS> method, as well as your getter and setter methods. > > > > KS> It's really, really simple. Like, it's so simple, anyone > > could learn it in > > KS> about 10 minutes. > > > > >> -----Original Message----- > > >> From: Jon Hall [mailto:[EMAIL PROTECTED]] > > >> Sent: Tuesday, July 16, 2002 9:48 PM > > >> To: CF-Talk > > >> Subject: MX and Javabean tutorials? > > >> > > >> > > >> Anybody know where I can find some good "How to integrate > Javabeans> >> with MX" type tutorials? I've written and > integrated some of my own > > >> java classes in MX, but there are a few issues I am still > fuzzy on > > >> and the docs leave me wanting more. I do hope that there is > a nice > > >> big section on this in the books coming out soon. > > >> > > >> I've been looking around the net and I have found a few > Javabeans> >> that I want to try and replace my favorite COM > objects with...which > > >> I must do before I can put MX into production. > > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

