From jdellis2@home.com Thu Nov 16 15:55:42 2000 Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 12230 invoked from network); 16 Nov 2000 15:55:42 -0000 Received: from unknown (HELO mail1.rdc1.az.home.com) (24.1.240.75) by locus.apache.org with SMTP; 16 Nov 2000 15:55:42 -0000 Received: from home.com ([24.1.222.199]) by mail1.rdc1.az.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20001116155534.YOYO27568.mail1.rdc1.az.home.com@home.com> for ; Thu, 16 Nov 2000 07:55:34 -0800 Message-ID: <3A140436.22BCAFF3@home.com> Date: Thu, 16 Nov 2000 08:58:46 -0700 From: John Ellis X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: Re: form data to ejb References: <3A13D129.DC1C25B7@home.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N 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 only work on a regular javabeans > > regards, > -Alexander.