Java and JSP, what next?

Status
Not open for further replies.
ASP.Net MVC.
Being less snarky, I guess it depends on what interests you when it comes to web applications. If you've had no exposure to the back-end, I'd start learning how to build out a data schema in a way that you won't be laughed at, how to get Java to talk to databases, how to write (and optimize) stored procedures. If it's business logic, how to write AbstractFactoryFactories (sorry about that (again)) and if it's how to make the pages look pretty, boning up on CSS and probably a JS framework (I like jQuery, but it does get decried for being on the heavy side).
 

TheDan666

Ars Tribunus Militum
2,359
Well you're definitely already in the Java website of things so I would think using a Java web-framework is definitely the next step. Any of the following would be decent candiates:

Spring
Struts 2
JSF
Grails
Hibernate
Seam

Other ancillary areas:

JUnit
Java caching framworks (WhirlyCache, ehcache)
Tiles
JDBC
JSON, JQuery, and other AJAXy stuff

Also, now might be a good time to take one step back and 2 steps forward to make sure you are doing proper Java OO design to leverage all of these. The fact that you were using JSPs and scriplets tells me you weren't doing it the right way necessarily. No harm in that, you were just getting your feet wet.

--The Dan
 

TheDan666

Ars Tribunus Militum
2,359
Cyric":2584y77y said:
Ooops my bad, I should have written more. I am experienced in javascript, JDBC, ajax and css.

I guess the right question would be which framework to learn?

And whether JSTL is usefull or not?

Spring subjectively seems to the be the most used?

So much to learn and so little time.

Best regards,
Cyric

Hard to argue with the popularity of Spring. I can't answer that question because it would probably depend on the type of development you are using. We use JSF at my place and it works for what it does. It's got its share of issues like any other framework. As for JSTL, my general feeling is that you will wind up having to learn it even if you don't want to. In my experience, JSTL is the ugly duct tape you have to use when your web framework doesn't do exactly what you need it to do.

--The Dan
 

Malyk

Ars Tribunus Angusticlavius
8,558
Subscriptor
Honestly, I'd look outside of java.

I was a java dev for 7 years before I was encouraged to use Ruby and Rails on a project. I never ever want to code in java again. Ruby has been the best programming experience I've ever had. It kills java in regards to how much fun it is to actually code. And with JRuby you get access to all the existing java knowledge in the world in a much nicer syntax.

Mike
 
D

Deleted member 43669

Guest
I would definitely learn something more backendish. Implementing a webapp doing all business logic in Java classes would be nice. I would recommend learning Spring.

JSTL is very, very useful if you want to continue using JSP's on the presentation layer. Learning c: and fmt: will take you an afternoon and your JSPs will be reduced considerably. Learning tag fragments will bring you a very nice alternative to includes.
 
D

Deleted member 43669

Guest
Actually, I don't fully endorse JSP/JSTL. I believe they suck less than other templating engines, and there are nice tools for them (Eclipse + tag fragments is really, really nice).

However, they lack two things:

  • They should be usable outside a servlet environment (hey, I want to use them as a general template engine
  • They should be sandboxable (i.e. disallow embedded Java, only certain tag libraries, etc.)
 
G

Guest

Guest
Assuming it is this and assuming that site was made with it (if not why not) then it is a very poor advert. My eyes they bleed.

Yes, the link is right. All the rest is wrong.

1) It is not an advert. HybridJava is a result of zero budget scientific effort. Otherwise the site would look much-much better. Hopefully there are people who are able to understand the texts describing new principles, not only fonts of those texts.

2) The site is not made with HybridJava technology. Not needed for static html. See Sample Application instead. The latter is not about nice colors either. HybridJava is not about making nice colors - there is enough other tools for that, all compatable with HybridJava.

To keep your eyes print the texts black and while.
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
Thank you for trying, please try again and maybe we shall talk about something more essential.

If you want a critique of your stuff you should start a separate thread. (Derailing another one is bad form)
I suggest making sure the sample app works (It still doesn't for me as of this message) first though.

If you ask for it though don't be upset if the criticism is not constructive, it's a forum, not an academic lounge...
 
G

Guest

Guest
Hi ShuggyCoUk!

I think it is quite obvious that my short message was in a perfect match with the title "Java and JSP, what next?". However it is a right advice not to overuse this thread. I will return with new thread soon as a new version will be ready. In particular I plan to partially open the source.

As to access to the Sample site - it is not perfect. In fact it is running at my home and uses DynDys. So far it was known to react pretty fast on IP changes which in my case do not even happen every day. Maybe this does not propagate fast enough to some other regions of the world than US.

Anyway, the Sample application in the source form and build script are part of the download zip and can be installed to Tomcat in 5 minutes, maybe you use that.

Thank you for you interest.
Alex
 

mkuredjian

Ars Tribunus Militum
1,659
In addition to what others have mentioned, I'll throw in my own suggestions, along with some frame of reference. You need to decide what path you want your career to take: middle-tier or front-end. Most Java shops aren't running small applications, so differentiation in job roles is usually split along the F/E M/T line. I'm not going to lie: F/E is harder. It's doubly harder if you don't own the content creation tool and/or control it's use. M/T is more about hooking into backends and dealing with well-known patterns.

Now, if you want to look into F/E more, I'd suggest:
1. Spring, then Spring MVC.
2. Struts 1. (You will end up using this at some point)
3. Integrating Spring & Struts (Spring makes your Struts app a little better & more testable)
4. JSTL / EL
5. CSS
6. Some content system
7. Some JavaScript library. JQuery is good. So is ExtJS.

There are some ancillary technologies that you can look into: XML, along with Schema and DTDs. XPATH is handy. Also, learn a good XML parsing library. I like DOM4J.

I toss out this advice after working on an on-line banking application for the past two years.

Oh - I also suggest learning some framework to manage workflows. You know, those forms that go step 1, 2, 3, etc... ? Yeah, get into a workflow framework that lets you manage object, entry and exit conditions easier.
 

Nimdok

Ars Scholae Palatinae
1,214
HTML5 and Google App Engine (or similar framework).

The lanaguage in the middle is going to be less and less relevant. Who cares what you use to spit out the HTML? Java, Python, C#, whatever--they all get the job done. HTML is evolving to provide more and more functionality and since browsers started auto-updating it pays to stay on top of new HTML features.

Since experiencing Google App Engine it's been hard to go back to mucking around with database connections and manually setting up web servers. Become proficient in knowing how to code for a cloud environment.
 
Status
Not open for further replies.