This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Micro Frontends in Action and have Michael Geers on-line!
See this thread for details.
Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

What api do/should I use?

Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
Posts: 15894
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a few I can suggest: Spring Roo, Grails, Maven and AppFuse.
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Posts: 1051
Hibernate Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic