Re: Struts +ACY- EJB support

2001-12-30 Thread Sushant Patney

Hi
I am geeting the idea from a no. of people that that EJB should only be used
if u want Scalibility /Distributed or Transaction Managment.
But That is against of my knowledge. Apart from the Software Appserver Cost
we do get benefits from EJB also
1) Automatic Database pooling
2) easier deveopment +ACY- more flexibility by use of container managed services
3) more plugable component architechure
So why would anyone say +ACI-people attempt EJBs to much+ACI-  for medium sized
projects ?
Thanks


- Original Message -
From: +ACI-Vic Cekvenich+ACI- +ADw-vic+AEA-basebeans.com+AD4-
To: +ACI-Struts Users Mailing List+ACI- +ADw-struts-user+AEA-jakarta.apache.org+AD4-
Sent: Friday, December 28, 2001 9:18 PM
Subject: Re: Struts +ACY- EJB support


+AD4- When I did EJB's, my understanding was that Sun would recommend them for
+AD4- distributed application. Other's found them very slow.
+AD4- This is said on EBB home page +ACI- the EJBTM server-side component model
+AD4- simplifies development of middleware components that are transactional,
+AD4- scalable, and portable.+ACI-
+AD4- So if you do not need midldleware, ie, distributed, consider not using
+AD4- EJBs. Middleware makes sense on only about 5+ACU- of applications, so
+AD4- perhaps people attempt EJBs to much. If you do need distributed, perhaps
+AD4- SOAP is better. EJB API to me is like SWING api, it has it's uses,
+AD4-
+AD4- Just a JavaBean or a rowset or a combo for model does just fine.
+AD4-
+AD4- Vic
+AD4-
+AD4- Jon Ferguson wrote:
+AD4-
+AD4- +AD4-Am I not correct in suggesting that Action objects are essentially our
+AD4- +AD4-opportunity to connect into an EJB model... Therefore struts' major
+AD4- +AD4-focus is not on the Model side of things which is where EJB majors (esp.
Entity
+AD4- +AD4-Beans).  The two seem like a cool fit.
+AD4- +AD4-
+AD4- +AD4-As far as scalability issues... what features make you say struts is
generally
+AD4- +AD4-targets medium sized projects?  Perhaps the single servlet controller?
+AD4- +AD4-Or are you drawing a parallel between size and complexity? Eg. lack of
workflow
+AD4- +AD4-yet (unless its farther on than I thought+ACE-).
+AD4- +AD4-
+AD4- +AD4-Cheers,
+AD4- +AD4-Jon
+AD4- +AD4-
+AD4- +AD4-Gopalakrishnan Rangaswamy wrote:
+AD4- +AD4-
+AD4- +AD4APg-Patney,
+AD4- +AD4APg-
+AD4- +AD4APg-The struts framework is basically meant for medium sized projects, so
+AD4- +AD4APg-EJBs are not envisaged as part of it.  If the project is big, and likely
+AD4- +AD4APg-to face scalability issues then it is better to adapt ejb based design
+AD4- +AD4APg-patterns.
+AD4- +AD4APg-
+AD4- +AD4APg-And nothing stops from calling a ejb in the struts framework.
+AD4- +AD4APg-
+AD4- +AD4APg-hope this helps.
+AD4- +AD4APg-
+AD4- +AD4APg--Original Message-
+AD4- +AD4APg-From: Patney +AFs-mailto:xpatney+AEA-hotmail.com+AF0-
+AD4- +AD4APg-Sent: Friday, December 28, 2001 5:09 PM
+AD4- +AD4APg-To: 'Struts Users Mailing List'
+AD4- +AD4APg-Subject: Struts +ACY- EJB support
+AD4- +AD4APg-
+AD4- +AD4APg-Hi All,
+AD4- +AD4APg-Can anyone give comment for my observation below :
+AD4- +AD4APg-
+AD4- +AD4APg-According to the struts documentation , it seams to be focusing a lot on
+AD4- +AD4APg-the
+AD4- +AD4APg-Servlet / JSP combination and does not seam to be exploiting the EJB
+AD4- +AD4APg-features as extensively as it could.
+AD4- +AD4APg-
+AD4- +AD4APg-Do i need to use Sun Pet Store for best EJB design practises and
+AD4- +AD4APg-possible
+AD4- +AD4APg-pick up some code (generic classes) from it
+AD4- +AD4APg-
+AD4- +AD4APg-Thanks in advance
+AD4- +AD4APg-
+AD4- +AD4APg---
+AD4- +AD4APg-To unsubscribe, e-mail:
+AD4- +AD4APgA8-mailto:struts-user-unsubscribe+AEA-jakarta.apache.org+AD4-
+AD4- +AD4APg-For additional commands, e-mail:
+AD4- +AD4APgA8-mailto:struts-user-help+AEA-jakarta.apache.org+AD4-
+AD4- +AD4APg-
+AD4- +AD4APg---
+AD4- +AD4APg-To unsubscribe, e-mail:
+ADw-mailto:struts-user-unsubscribe+AEA-jakarta.apache.org+AD4-
+AD4- +AD4APg-For additional commands, e-mail:
+ADw-mailto:struts-user-help+AEA-jakarta.apache.org+AD4-
+AD4- +AD4APg-
+AD4- +AD4-
+AD4- +AD4-
+AD4- +AD4-
+AD4- +AD4-
+AD4- +AD4---
+AD4- +AD4-To unsubscribe, e-mail:
+ADw-mailto:struts-user-unsubscribe+AEA-jakarta.apache.org+AD4-
+AD4- +AD4-For additional commands, e-mail:
+ADw-mailto:struts-user-help+AEA-jakarta.apache.org+AD4-
+AD4- +AD4-
+AD4-
+AD4-
+AD4-
+AD4- --
+AD4- To unsubscribe, e-mail:
+ADw-mailto:struts-user-unsubscribe+AEA-jakarta.apache.org+AD4-
+AD4- For additional commands, e-mail:
+ADw-mailto:struts-user-help+AEA-jakarta.apache.org+AD4-
+AD4-
+AD4-

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Struts +ACY- EJB support

2001-12-28 Thread Shengmeng Liu

Couldn't agree with you anymore+ACE-
According to my understanding, Struts is basically an MVC framework 
for web applications.So it's main focus is on the web tier and it doesn't
place any restrictions on how you implement the business logic. The model
part of the Struts framework, namely the form bean is only the model for the
web tier. For the model of business logic, you can either use javabean or 
rowset or EJB or whatever you like. The beauty of Struts is that you can easily
plug all these into the framework with the Action class, which can be regarded
as the connector for your business model.
The bottom line is scalability is never a problem for Struts.


- Original Message - 
From: +ACI-Jon Ferguson+ACI- +ADw-ferguson+AEA-ieee.org+AD4-
To: +ACI-Struts Users Mailing List+ACI- +ADw-struts-user+AEA-jakarta.apache.org+AD4-
Sent: Friday, December 28, 2001 9:56 PM
Subject: Re: Struts +ACY- EJB support


+AD4- Am I not correct in suggesting that Action objects are essentially our
+AD4- opportunity to connect into an EJB model... Therefore struts' major
+AD4- focus is not on the Model side of things which is where EJB majors (esp. Entity
+AD4- Beans).  The two seem like a cool fit.
+AD4- 
+AD4- As far as scalability issues... what features make you say struts is generally
+AD4- targets medium sized projects?  Perhaps the single servlet controller?
+AD4- Or are you drawing a parallel between size and complexity? Eg. lack of workflow
+AD4- yet (unless its farther on than I thought+ACE-).
+AD4- 
+AD4- Cheers,
+AD4- Jon
+AD4- 
+AD4- Gopalakrishnan Rangaswamy wrote:
+AD4- 
+AD4- +AD4- Patney,
+AD4- +AD4-
+AD4- +AD4- The struts framework is basically meant for medium sized projects, so
+AD4- +AD4- EJBs are not envisaged as part of it.  If the project is big, and likely
+AD4- +AD4- to face scalability issues then it is better to adapt ejb based design
+AD4- +AD4- patterns.
+AD4- +AD4-
+AD4- +AD4- And nothing stops from calling a ejb in the struts framework.
+AD4- +AD4-
+AD4- +AD4- hope this helps.
+AD4- +AD4-
+AD4- +AD4- -Original Message-
+AD4- +AD4- From: Patney +AFs-mailto:xpatney+AEA-hotmail.com+AF0-
+AD4- +AD4- Sent: Friday, December 28, 2001 5:09 PM
+AD4- +AD4- To: 'Struts Users Mailing List'
+AD4- +AD4- Subject: Struts +ACY- EJB support
+AD4- +AD4-
+AD4- +AD4- Hi All,
+AD4- +AD4- Can anyone give comment for my observation below :
+AD4- +AD4-
+AD4- +AD4- According to the struts documentation , it seams to be focusing a lot on
+AD4- +AD4- the
+AD4- +AD4- Servlet / JSP combination and does not seam to be exploiting the EJB
+AD4- +AD4- features as extensively as it could.
+AD4- +AD4-
+AD4- +AD4- Do i need to use Sun Pet Store for best EJB design practises and
+AD4- +AD4- possible
+AD4- +AD4- pick up some code (generic classes) from it
+AD4- +AD4-
+AD4- +AD4- Thanks in advance
+AD4- +AD4-
+AD4- +AD4- --
+AD4- +AD4- To unsubscribe, e-mail:
+AD4- +AD4- +ADw-mailto:struts-user-unsubscribe+AEA-jakarta.apache.org+AD4-
+AD4- +AD4- For additional commands, e-mail:
+AD4- +AD4- +ADw-mailto:struts-user-help+AEA-jakarta.apache.org+AD4-
+AD4- +AD4-
+AD4- +AD4- --
+AD4- +AD4- To unsubscribe, e-mail:   
++ADw-mailto:struts-user-unsubscribe+AEA-jakarta.apache.org+AD4-
+AD4- +AD4- For additional commands, e-mail: 
++ADw-mailto:struts-user-help+AEA-jakarta.apache.org+AD4-
+AD4- 
+AD4- 





+AD4- --
+AD4- To unsubscribe, e-mail:   
++ADw-mailto:struts-user-unsubscribe+AEA-jakarta.apache.org+AD4-
+AD4- For additional commands, e-mail: 
++ADw-mailto:struts-user-help+AEA-jakarta.apache.org+AD4-