tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <a.ten.bruggenc...@home.nl>
Subject Re: form data to ejb
Date Thu, 16 Nov 2000 18:17:30 GMT
thank you, i'll look into it.

-Alexander

----- Original Message ----- 
From: "John Ellis" <jdellis2@home.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, November 16, 2000 4:58 PM
Subject: Re: form data to ejb


> We typically use custom tags or servlets.  It is generally considered a
> bad practice to use "Entity" beans from a client.  It is suggested to
> use a session bean to fron the entity beans, then use regular javabeans
> to transport data back and forth.  So, I would suggest you use a regular
> bean to set and get properties, then a custom tag or servlet to send or
> retrieve that to/from the server.
> 
> A complete and well-formed example is available at
> http://www.javasoft.com/j2ee/download.html
> This is the java pet store example and has several design patterns and
> lots of code for J2EE applications.
> 
> Alexander ten Bruggencate wrote:
> 
> > Can someone tell me what the preferred way is to get form data to an
> > ENTERPRISE javabean?
> > as <jsp:get- setProperty .../> only work on a regular javabeans
> >
> > regards,
> > -Alexander.
> 


Mime
View raw message