RE: EJB = bad = MS.net

2002-02-20 Thread Thompson, Darryl

 I STRONGLY disagree with this statement. We have been doing EJBs for 2 yrs
at my shop. Our Order Entry system  uses EJBs to capture customer orders in
36 cities (US) in every US timezone and we have had nothing but success. By
the way there is NO reason to buy BEA weblogic unless you are running EJBs
and don't trust JBOSS (which I do). Tomcat is much better at serving
webpages the WLS or Websphere, EJBs are one of the cornerstones of J2EE,
wake up Vic...

> -Original Message-
> From: Vic Cekvenich [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 11:42 AM
> To:   Struts Users Mailing List
> Cc:   [EMAIL PROTECTED]
> Subject:  EJB = bad = MS.net
> 
> Home page of Jakarta has this
> http://jakarta.apache.org/site/news.html#0130.2
> on this:
> http://www.mail-archive.com/general%40jakarta.apache.org/msg03376.html
> 
> I agree. Doing EJBs is bad on many levels and creates more problems. 
> Avoid EJB if you want to stay in Java.
> 
> Alternative is to just use Struts + TomCat + RowSet (or DAO if you are 
> doing something simple or small) and done. This is the sweet spot. MVC 
> is all you need.
> 
> Alternative, do EJBs and your organization WILL switch to MS .NET on the 
> next project, leave J2EE, and you have to learn VB.net.
> 
> EJBs are for newbies. (If you need middleware (very rare) use SOAP)
> 
> lol,
> Vic
> 
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Nightly Builds

2002-02-14 Thread Thompson, Darryl


 Can any one tell me which nightly build is stable enough to actually
develop with? Often I encounter problems with missing tag handlers or
conflicting method definitions between the TLD and tag classes making the
build pretty much unusable...

Thanks

> -Original Message-
> From: Sid Stuart [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, February 14, 2002 9:18 AM
> To:   Struts Users Mailing List
> Subject:  Re: session beans
> 
> FilterBean filter = (FilterBean) session.getAttribute
> (FilterBean.FILTERBEAN_KEY);
> if (filter == null) {
> log.info ("Creating Filter");
> session.setAttribute (FilterBean.FILTERBEAN_KEY, new
> FilterBean
> ());
> }
> 
> Henry Lu wrote:
> 
> > How to set/get session beans in a formaction program? Could you show me
> an
> > example with a code?
> >
> > Thanks,
> >
> >
> --
> -
> > Henry Lu
> > MCITphone: (734) 936-2063
> > University of Michigan Medical Center   fax:   (734) 763-4372
> >
> > --
> > To unsubscribe, e-mail:
> 
> > For additional commands, e-mail:
> 
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Creating RadioButton Group using Nested Extension

2002-02-13 Thread Thompson, Darryl

Hello all,

   I am using the MonkeyStruts Nested Extension and need help creating a
Radiobutton group from data retreived out of a Relational Table. Does anyone
have a code example of this or something similar using the nested extension?
Within my parent ActionForm (SalesOrderForm) I have a nested form
(LongDistanceServiceForm) and this form can contain a collection of
callingCard plans which must be rendered as a group of radio buttons.


Thanks for any help,
Darryl

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Menu tag

2002-02-13 Thread Thompson, Darryl

Hello Vic,

I use the HierMenu javascript  menu builder, it works well in Struts, see
link below
http://www.webreference.com/dhtml/hiermenus/


if anyone knows of a better Horizonal menuing approach I would like to
see/try it.

regards,
Daaryl
> -Original Message-
> From: Struts Newsgroup [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 12, 2002 4:40 PM
> To:   [EMAIL PROTECTED]
> Subject:  Menu tag
> 
> Subject: Menu tag
> From: Vic Cekvenich <[EMAIL PROTECTED]>
>  ===
> Other than struts-menu tag, what is another menu tag?
> 
> I want drop downs across the top?
> TIA,
> Vic
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: HTML / Struts Help

2002-02-13 Thread Thompson, Darryl

Hello,

When my JSPs contain multiple buttons that trigger different behaviour I use
the DispatchAction...

Here is a snippet of html for defining a button:
 

   //...

 In my struts-config.xml I create a mapping like this:
   
  
  
  
  


Then in the DispatchSalesOrderSetup class I handle any pre-page processing
in an execute(...) method before 
forwarding control to the appropriate page. The great thing about the
DispatchAction class is you don't have to code any conditional logic since
it uses
reflection to map the request argument (in this case the  "method"
parameter) value to a method name in the DispatchAction subclass.

Hope this helps...

/ Darryl
> -Original Message-
> From: Wijewickrema , Dina E. [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 13, 2002 9:16 AM
> To:   'Struts Users Mailing List'
> Subject:  RE: HTML / Struts Help
> 
> Just define a hidden field in your form. Then when you press a button
> define
> an onclick event that sets the value of the hidden field.
> 
> For example:
> 
> 
> 
>  onclick="form.action.value='Process'">
> 
> -Original Message-
> From: Mattos, John [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 13, 2002 10:12 AM
> To: '[EMAIL PROTECTED]'
> Subject: HTML / Struts Help
> 
> 
> Hi.
> 
> I have a form that can be submitted by three different buttons, for
> example
> the buttons read
> 
> (Button Labels)
> Process
> View by Org
> View by Product
> 
> What I want to do is in the Action Class handling the submission, find out
> which button was pressed, and act accordingly, whether it's an
> actionForward
> (in the case of the "view" options) or kicking off another process (as
> will
> be done by the "process" button)
> 
> So, how can I figure out what button was pressed in that Action class? Is
> there a way to do that?
> 
> John Mattos
> Sr. Developer and Architect
> iNDEMAND
> 345 Hudson St. 16th Floor
> New York, New York
> 10014
> 
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Best Approach for Database Access?

2002-02-12 Thread Thompson, Darryl

Hello Keith,

 In my environment we employ options 2 and 3 but with this little twist:

  3) EJB environment (CMP)
 JSP -> ActionBean -> ( ServiceHelper -->ServiceLocator ) - >
ServiceBean -> DB

The ServiceLocator is a regular Java class that encapsulates all jndi Home
lookup logic, and the ther ServiceHelper is also a regular Java class that
contains methods to
support the business model. All ServiceHelper methods are static and the
Action Class calls these from the appropriate exec(..) method.

We are still trying to get a handle on this framework so if this is in left
field let me know.

Regards,
Darryl

> -Original Message-
> From: Keith Chew [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, February 12, 2002 2:47 PM
> To:   Struts Users Mailing List
> Subject:  RE: Best Approach for Database Access?
> 
> Hi Paul
> 
> I follow this design practice for both EJB and non-EJB applications. The
> ones marked with * live at the application server JVM.
> 
> (1) Non-EJB environment
> ===
> JSP -> ActionBean -> ServiceBean -> DaoBean -> DB
> 
> (2) EJB environment (BMP or Session)
> 
> JSP -> ActionBean -> * ServiceBean -> * DaoBean -> DB
> 
> (3) EJB environment (CMP)
> =
> JSP -> ActionBean -> * ServiceBean -> DB
> 
> Notes:
> ==
> ActionBeans are the action classes of Struts
> DaoBeans are normal JavaBean classes which knows how to communicate with
> the
> DB, ie all SQL code goes here.
> In (1), you need to take care of transactions on your own.
> The ServiceBean in (1) is a normal JavaBean, but an EJB in (2) and (3)
> In (3), we do not need a Dao, since the CMP does all that work for us.
> 
> Hope this helps
> Keith
> 
> -Original Message-
> From: Paul Idusogie [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 13 February 2002 9:38 a.m.
> To: [EMAIL PROTECTED]
> Subject: Best Approach for Database Access?
> Importance: High
> 
> 
> Could you kindly provide guidance on the best approach to implement
> database
> access.?
> I have encountered various schools of thought in my reading, that suggest
> extracting the business logic and database code from the jsp into a jsp
> bean
> or ejb or servlet.
> 
> Thanks,
> 
> Paul Idusogie
> Technical Architect
> Consulting Services
> Stellent Inc.
>  Golden Triangle Drive
> Eden Prairie, MN 55104
> Desk: 952.656.2755
> Fax: 952.903.2115
> Email: [EMAIL PROTECTED]
> website: http://www.stellent.com
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: use of on variable columns and rows?

2002-02-05 Thread Thompson, Darryl

Hello Leo,

Try using the "nested eXtension" (or MonkeyStruts as it is also called) it
could solve your problems...

Best of luck,
Darryl

> -Original Message-
> From: Leo Li [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, December 19, 2001 2:32 PM
> To:   [EMAIL PROTECTED]
> Subject:  use of  on variable columns and rows?
> 
> My application need to display a table with the
> variable column and row.
> I have tried to use nested  but it
> won't work. 
> 
> 
> 
> 
>
>  property="item"/>
>   
>   
> 
> 
> 
> Could someone help me?
> 
> Thanks
> 
> __
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts IDE

2002-01-03 Thread Thompson, Darryl

Please explain how to configure the window's explorer file extension.
Thanks

> -Original Message-
> From: Chen, Yong [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 20, 2001 4:16 PM
> To:   'Struts Users Mailing List'
> Subject:  RE: Struts IDE
> 
> By combining the opentool external browser support
> http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=17071
> and set your windows explorer's file extension .jsp with Dreamweaver
> UltraDev, you can easily edit the page in dreamweaver from Jbuilder.
> 
> Yong Chen
> 
> 
> -Original Message-
> From: Dan Cancro [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 20, 2001 11:39 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Struts IDE
> 
> 
> Check out Macromedia's Dreamweaver Ultradev.  It has a nifty live data
> mode
> that lets you see the output and work on the source at the same time.
> It's
> also extensible.  I heard that someone wrote an extension for Struts tags
> in
> particular or for jsp tags in general, I can't remember which.  That might
> help out too.  One more thing.  Borland offers a package that somehow
> integrates Utradev into JBuilder, so that might be something else to
> consider.
> 
> Dan
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, December 20, 2001 6:25 AM
> > To: Struts Users Mailing List
> > Subject: Struts IDE
> > 
> > 
> > Hi,
> > 
> >Are there any IDE which helps the designer to view HTML 
> > pages having
> > struts tags incorporated in it?
> > 
> > (i.e For brevity's sake, only a snippet of the HTML code is 
> > given below
> > 
> > 
> >  > labelProperty="label"/>
> > 
> > 
> > 
> > TIA,
> > 
> > Jerome
> > 
> > 
> > **
> > *
> > Any opinions expressed in this email are those of the 
> > individual and not necessarily those of GamCom Solutions Ltd 
> > (herein after "GamCom") and/or its subsidiaries. This email 
> > and any files transmitted with it, including replies and 
> > forwarded copies (which may contain alterations) subsequently 
> > transmitted from GamCom and/or its subsidiaries, are 
> > confidential and solely for the use of the intended 
> > recipient. If you are not the intended recipient or the 
> > person responsible for delivering to the intended recipient, 
> > be advised that you have received this email in error and 
> > that any use is strictly prohibited; please notify us 
> > immediately and do not disclose, distribute, or retain this 
> > email or any part of it. We believe but do not warrant that 
> > this e-mail and any attachments are virus free. You must 
> > therefore take full responsibility for virus checking. GamCom 
> > and/or its subsidiaries reserve the right to monitor all 
> > email communications through their networks.
> > If you have received this email in error please notify GamCom 
> > by telephone on +44 (0)20 8838 5441 or via email to 
> > [EMAIL PROTECTED] , including a copy of this message.
> > **
> > *
> > 
> > --
> > To unsubscribe, e-mail:   
> > 
> > For additional commands, e-mail: 
> > 
> > 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 
> 
> --
> To unsubscribe, e-mail:
> 
> For additional commands, e-mail:
> 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: