using struts for larger apps
Hi I keep hearing that struts is only really suited for small to medium sized applications. Are there plans in the future to expand the capabilities of struts so it is suitable for developing large applications as well. Thanks Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
scaling up a strurt app to use ejb
Hi I'm developing a struts app at the moment using Resin as my JSP engine. I realise its probably overkill to use EJBs right now. However, there may come a time when I need to scale up to a distributed architecture. My question is: how easy/difficult is it to scale my stuts app up to something that uses EJBs? I'd like to make the code I'm writing now in a way which makes it is painless as possible when it comes changing over to a distributed architecture. I'd also like to stick with Resin, which I think is a nice product. How does Resin's implementation of using distributed object compare with other products? Thanks Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
iterate over bean attributes
Hi Is there a nice way to iterate over form bean attributes? The only way I can think of is to copy all the form bean attributes to a collection/array and then iterate over that data structure. This situation arises because I'm displaying confirmation page listing all the data from a previous form and I'm repeating lots of tables, with the only changes each time being the bean attribute. I was just wondering if there was a nicer way to do this than that what i've described. Thanks Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: iterate over bean attributes
Thanks for the replies. I liked both solutions about using wrappers and reflection. I'm going to have a closer look at them. Its not really essential that I use these solutions, but I just think its nice to remove any repeated code where possible. Thanks Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
traffic limit on a single machine
Hi I've been hearing a lot about whether an app needs to be EJB compliant or not. Does anyone know the limits, with regards to traffic, of a single machine running, say tomcat with a struts application. For example, could an app running on a single machine handle 500 hits an hour, or 500,000 hits a month .. Are ther any guides to this sort of information Thanks Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Best Struts Web Server
I'm using Resin and I don't know too much about Orion, but are they not used for different tasks? Resin as a servlet JSP container, and Orion as an app server/ejb container. Can Resin also be used as an EJB container? Peter - Original Message - From: John M. Corro [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, December 07, 2001 10:23 PM Subject: Re: Best Struts Web Server Jason (or anyone else that has experience w/ both), How would you rate resin to orion? I've done minor playing w/ Orion, but haven't had the opp. to use it in a project as of yet. Haven't touched resin yet. Performance benchmarks I saw a while back put Orion and Resin in the same overall performance ballpark. - Original Message - From: Jason Chaffee [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, December 07, 2001 10:54 AM Subject: RE: Best Struts Web Server I have investigated many app servers and I have found no of them can even compare to resin, it is by far the best. And, if you happen to find a bug, Scott will usually fix it within a couple of days or you can fix it yourself since you have the code. -Original Message- From: a b [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 8:49 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Best Struts Web Server I thought tomcat sucks --- Thomas Zettelmayr [EMAIL PROTECTED] wrote: Still the best one is Tomcat 3.2.3 on OpenVMS. This is, and will be, the only real environment for high-end applications. -Original Message- From: a b [mailto:[EMAIL PROTECTED]] Sent: Freitag, 07. Dezember 2001 17:46 To: Struts Users Mailing List Subject: RE: Best Struts Web Server jetty is better than resin? --- Robert J. Sanford, Jr. [EMAIL PROTECTED] wrote: http://jetty.mortbay.com http://www.jboss.org (jboss + jetty) rjsjr -Original Message- From: Pete Carapetyan [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 10:27 AM To: Struts Users Mailing List Subject: Re: Best Struts Web Server What is your experience with the Web server you are currently using to run Struts? Does it handle pages with a large number of tags well? Have you had to discard a certain server because of a problem in favor of another? Any comments appreciated... You really need to qualify your market before asking the question. If you are serving up a million hits a month, you might have one class of best, strictly because of the funds issue. If you are serving up a million hits an hour, that would justify spending thousands on an app server that worked well under a heavy load. But at ten, twenty, or thirty thousand dollars, that app server would be total overkill on my little site, even though it is definitely best. One bencmarking organization addresses this by grouping in terms of total cost and/or number of transactions. http://tpc.org/ -- Pete Carapetyan http://webAppWriter.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Choosing an app server to work with Struts
Hi This may be a bit off-topic, but i'd like some friendly advice with regards to using an app server with an ejb container, with Struts. I've never actually used one b4, so the first step is which one should I choose. I'd like to know as much as possible so that I can follow just one learning curve, as opposed to several, trying out the different options available. Do I need a distributed environment? Not right away, but I think I will as my project scales larger and becomes more complex. I thought about using Expresso, which I know is not an app server but I really like. However, I'm not sure how it handles large amounts of data. I'm also not sure how easily I can scale up to a distributed environment with Expresso. I've heard people on this group talk about JBoss and Orion. Which app server generally works best with Struts, and which one is easiest to learn? What about Resin.cmp? I know its not open-sourced but small start-ups can license it for free I think Thanks for any advice Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: MVC security?
Struts does allow you to place all your files including jsp files under the web-inf directory, and therefore make them much more difficult for outsiders to view. You also don't have to give the name of the jsp file you want to access from a form submission/link. action=someJsp.do in the struts-config.xml script: action path=/someJsp forward=/web-inf/jsp/aJspFile.jsp/ Hope this helps Peter - Original Message - From: Daniel Jimenez [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Steve Goldsmith [EMAIL PROTECTED] Sent: Monday, November 26, 2001 10:29 PM Subject: MVC security? This issue has probably already been covered but if someone could lend me a hand in describing any security benefits of having an MVC framework. I'm not a security expert by any means, but my gut reaction is that the struts framework provides some increase in security. Could someone respond back and describe what they are or aren't? Thanks in advance!! Dan Jimenez Briggs Stratton -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
forms with duplicate attributes
Hi I'm developing a struts web app with several ActionForm objects which share the same attributes, eg name, address etc. I actually have 3 separate forms which require address details. To cut down on code I've thought of having ActionForms and child ActionForms which inherit their parent's attributes, along with their own attributes. Is it ok to implement ActionForm objects like this in Struts? Thanks Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Using tiles and expresso
Hi My question regards using struts with tiles and expresso. For tiles I need to define in web.xml: org.apache.struts.tiles.ActionComponentServlet and for expresso I need to define in web.xml: com.jcorporate.expresso.core.controller.ExpressoActionServlet. If I want to use both Tiles and Expresso what can I do to include both of the required Action classes. The only way I can think of is to include the implementation of one within the other. I'm ion.assuming that I can only use one Action servlet within an applicat Thanks Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: If someone is interested
I think there are so many people interested you may as well publicly show the code. Peter Hello colleagues, I've been developing a web app for myself and since it's not the first app using Struts I attempted to solve some general issues by providing some interfaces, custom tag and generic actions. More specifically I'm talking about tables, you know that questions about navigation, sorting, formatting and so on... To see what's done already, point your browser to http://english.yuriy-zubarev.com And if my work raises some interest among people, I'll beautify the code (if there is no big load in the office) and share it (with one of the purposes to get feedbacks and criticism). Best of luck, Yuriy Zubarev __ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Security and Filters
Hi I've just read the exVerify user guide. It specifies that ezVerify tags should enclose html tags. Do these tags still work if they enclose struts tags? Thanks Peter -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
ApplicationResources.properties
I've created a simple struts app but get the following exception when I try to load the .jsp page: home javax.servlet.jsp.JspException: Missing message for key home.title in my ApplicationResources.properties file I've got a key/value pair: home.title=my home In my web.xml file I've got the following parameter set up for the Action Servlet: param-valueApplicationResources/param-value which is placed in the web-inf/classes directory There seems to be problem reading the ApplicationResources.properties file which I cannot work out. Any help with this would be much appreciated. Am I doing something wrong??? Thanks Peter _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: ApplicationResources.properties
Thanks for your reply I've checked and the rest of the application resources settings are there. One thing that is odd is that after i get the error if i try and load the struts-example application I get the same kind of error. However, if I open up a new browser window the struts-example loads correctly. Thanks Peter Is the rest of the Application Resource settings there? It should be init-param param-nameapplication/param-name param-valueApplicationResources/param-value /init-param _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp