File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes What api do/should I use? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What api do/should I use?" Watch "What api do/should I use?" New topic

What api do/should I use?

Ben Synes
Ranch Hand

Joined: Jul 18, 2012
Posts: 54

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?

Any help, advice, pointers very much appreciated.
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

There are a few I can suggest: Spring Roo, Grails, Maven and AppFuse.

Junilu - [How to Ask Questions] [How to Answer Questions]
Cj Recto

Joined: Mar 02, 2012
Posts: 26
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.

Hope it helps.
James Boswell

Joined: Nov 09, 2011
Posts: 1051


May I recommend some of the tutorials offered at coreservlets:

They should be at the level you require. They also package up the tutorials into eclipse projects which you can simply download and import.
I agree. Here's the link:
subject: What api do/should I use?
It's not a secret anymore!