|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello all,
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. MatrixCode |
|
#2
|
||||
|
||||
|
Are you going for JBoss+Tomcat? With a framework like Struts?
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
I am not sure what you mean by "number of components"?
|
|
#5
|
|||
|
|||
|
I guess i'm refering to the amount of components that are written by you as appose to the standard J2ee ones...
|
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
yea, how many classes...
|
|
#8
|
|||
|
|||
|
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/...-tilestrut.html |
|
#9
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > How many components are in applications now adays |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|