I am fairly new to Java, I have been studying for a bit now on the core principles of Java covered in most newbie books, I have a Ruby programming background, and have found the transition fairly ok, but I want to start to build a small web application, and I really dont know the API/tools which might be the best option for the beginner approach.
At university I used Swing, but I heard from some Java guys this is not the way to go.
With Ruby, I done a bit of development with Rails, so I understand the core principles of MVC, and db connectivity is so nice and smooth with ActiveRecord and the other Rails core components.
So I asked my Java friend, what do I use...? What would be the easiest with my current background to get up and running to build a new web app.
He suggested I start with Spring. But I just had a very brief read about Spring, Ioc and AOP, and it seems like a lot of down time will be spent reading before I can start to hack away from my current class diagrams.
So what do I do? Is grails the best option?
Can anyone recommend a good online tutorial or book which I can follow to get up and running with building a UI?
Ok, since you are beginning in java, you should start at the basic. If you want to learn web development, start by learning servlets and jsp, these are the foundation you need to understand in order to learn web development in java. Once you get a good grasp of it, then try using frameworks like spring and struts. But again the best way to start is to learn servlet and jsp.
I cannot suggest online tutorial, just google it, there's a lot of tutorial out there.