Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Confused about J2EE frameworks (and hotswap)

Thread Tools

Confused about J2EE frameworks (and hotswap)
Posts: n/a

I have been interested in J2EE development for some time now, and have
fairly recently learnt about good design patterns (like MVC), but I
have had
some problems sticking to these patterns. Then I heard about Struts,
that it is more or less based on the MVC pattern (actually, I did hear
read about Struts some years ago, but then I know nothing of MVC). But
as I
have been fairly busy lately, I haven't had the time to really get into
Struts is and how it works. But then yesterday I though to myself, "OK,
it's time to learn Struts". But when I looked around on the web, I
page after page calling Struts more or less a thing of the past, and
there now are far better frameworks around.
So now I am very confused. I get the feeling that it's stupid to learn
Struts now, and that I should focus on some other framework instead.
which one?

Also, the frame works in generall are all very confusing for me. Mostly

there's *alot* of pre-configuration, and the examples they show on
sites are often far too simple in functionallity and still fairly
complex to
create, if you ask me.

What I really would want to do is to "integrate" some good framework
with my
existing, in-development web-community, without having to re-write more
a few % hopefully. But how do I do that?

Also, I have implemented a simple hotswap-functionallity, to be able to

change or add functionallity (ie change/add/remove java classes) while
are online and surfing. This I have solved by letting all action
(for instance, Register, Login, SendMessage) get loaded by custom
classloaders (actually, a classloader from Ant). Each time I have
changed/added/removed an action class, I update a configuration file
and the
issue a load-action-classes command to the servlet, and then the
uses the classloader (a new instance each time) and loades the classes
defined in the configuration file. I think this approch works fairly
But how do I make all this work in the framework I choose? When I read
the different frameworks, they all seem so patronising. "We do most of
stuff for you. You don't have to worry your pretty little head what
goes on
behind the scenes."

Also, the community I'm working on doesn't use any EJB, and the
is implemented in a storage class with alot of SQL-code.

So, where do I start? Is it possible to make this mess-of-a-project
something beautifully structured, using some framework? And still

In the future I want to be able to have the community on several
servers for
performance. I want to use resource files to be able to change the text
the pages easily.

I use Apache 2, Tomcat 5.5 and MySQL 4.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best JAVA/ J2EE Training Institute in Delhi, Live Projects onJAVA/J2EE, Short term Java courses are also available. Rajive Narain Java 0 09-18-2009 10:48 AM
Shine J2EE Framework 1.2 Vs. J2EE Frameworks mehdi mousavi Java 0 02-15-2009 04:55 PM
j2ee SDK, javax.* and j2ee implementations T.G. Java 1 01-04-2006 08:22 PM
LAMP & J2EE as opposed to LAMP vs J2EE Ross M. Greenberg Java 6 12-24-2004 09:59 PM
Gui-frameworks John Smith ASP .Net 0 02-09-2004 01:22 PM