× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I hear you there. I'm learning every day. Sometimes I think there are too
many frameworks out there. It is very overwhelming. I myself should really
take the time to learn about them, but at this point I'm more focused on
trying to make good OO code (which every time I think I understand, I find
out something new ;)). There also doesn't seem to be enough time in the day,
to bad my boss won't just let me learn all day instead of actually work :).

I actually don't use any frameworks myself. I have just created my own
back-end classes and I created a few classes to handle the retrieval of SQL
statements and caching of results. Probably not the best approach, but it
works for me.

I wouldn't worry about your code too much. I basically just try to use EL
and the standard tag library on new pages. I have too much stuff I've done
while learning that I would be embarrassed to show anyone. I could probably
write a create tutorial on what NOT to do.

--
James R. Perkins


On Tue, Mar 3, 2009 at 15:15, James Rich <james@xxxxxxxxxxx> wrote:

On Tue, 3 Mar 2009, James Perkins wrote:

I am by no means an expert. I keep learning something about Java each
day. I
would strongly advise not use the <%%> tags though. I created an intranet
site at the last place I worked that used Java code and <%%> all over the
pages. It was my first attempt at Java/JSP coding and it's now just a
mess!

Take a look at the JSTL tags and the expression language (EL). It will
give
you MUCH cleaner pages.

It wasn't until I started going through the Spring tutorials that I
found out tag libraries existed. I wish I had known about them earlier.
I have a lot of JSP that could have been a lot simpler.

It has been somewhat difficult for me to determine what to focus my
learning on. There are a myriad of frameworks and techniques and it is
easy for me to get lost in the jargon and the sheer numbers of ways to do
things.

Previously I had been coding classes for each database file and a factory
for each class, then using the factories directly in my JSP to get
objects. Everything was working fine but I had a few snags. So I spoke
with a big java developer friend and he asked me what framework(s) I was
using. My blank stare was my only answer. He was rather incredulous that
I wasn't using Spring and Hibernate - even more so when I told him I had
no idea what he was talking about. So I've spent the last few weeks
reading everything I can find out frameworks. I'm very interested in
using the MVC design pattern, but even after following the tutorials very
closely I'm not convinced that I'm doing it right. Of course, tag libs
have been very nice.

James Rich

if you want to understand why that is, there are many good books on
the design of operating systems. please pass them along to redmond
when you're done reading them :)
- Paul Davis on ardour-dev
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.