March 30th, 2003, 11:29 PM
How many components are in applications now adays
I've jumped ship from the ASP side and am now responsible for designing a large web application using JSP/EJB/J2EE. I was just wondering when others were designing their component architectures for small, medium and large web applications, how many components did they use? Thanks in advance, I could use the comparisons.
March 31st, 2003, 02:31 AM
Are you going for JBoss+Tomcat? With a framework like Struts?
March 31st, 2003, 11:46 AM
Tomcat and Struts for now... but i'm more interested in hearing about the number of components others use in their designs, in their respective configurations...for the sake of comparisons... Thanks again.
March 31st, 2003, 03:03 PM
I am not sure what you mean by "number of components"?
April 1st, 2003, 10:40 AM
I guess i'm refering to the amount of components that are written by you as appose to the standard J2ee ones...
April 1st, 2003, 11:01 AM
I guess I am having a problem understanding what you mean by component. This is not a term I am used to hearing when referring to java web development. What are the standard j2ee components as you see them? Are you asking how many individual classes are created normally?
EDIT: Are you asking - as a for instance - how many classes/files one would normally create for a standard web transaction?
Last edited by Nemi; April 1st, 2003 at 11:03 AM.
April 2nd, 2003, 08:30 PM
April 6th, 2003, 03:01 PM
You can make anywhere from one file (the jsp) for a transaction up to several if you are using something like struts (a jsp for display, a formbean for data, an Action for processing, etc.). The level of complexity is proportional to the level of maintainability - generally speaking. The more complex it is to create the easier it is to maintain.
Here is an interesting article that touches on this subject, more or less. http://www.javaworld.com/javaworld/j...tilestrut.html
April 7th, 2003, 01:06 AM
well i stick to the theory
all nouns are classes.
learned that in my first ever programming class.
works out pretty well most of the time.
but when dealing with other libraries, i see myself usually creating my own class to inherit classes in the library that i would use. This way i can get total customization.
This is not done all the time but i do see myself doing this alot.