vendredi 12 juin 2015

What to do when you want to create your first java web application?

So i want to create my first web application. But there is simply too mush choose to know where to start i keep jumping from one thing to another.

The first thing is which ide should i use:

  • is one better for web development than another or is it just personal choice?

Currently i'm using netbeans and i can see that all the samples are using glassfish.

  • Should i use glassfish first? or should i look at tomcat, jboss,...
  • When i use a glassfish example and switch to tomcat server some classes are not recognized anymore. Does every server has it own classes ?
  • When i followed a spring tutorial it used tomcat but can it also be used with glassfish ?
  • Is there a big difference in cost between servers ?

What about jsp or servlets

  • a lot of examples use jsp some other prefer servlets what is still used nowdays ??
  • i also came across some websites where they prefer freemarker instead of jsp / servlets but is it not better to learn to work with jsp and servlets ?

And what about frameworks

  • is it better to use frameworks like spring to begin with as beginner or not ?

And build tools

  • Should i use build tools like maven,ant ,gradle ? or would it be overkill in the learning curve ?

And how are java web application stored on servers ?

  • I now normal website with html css and js you just need to drag all the files to the server and it is working. But what about java webapplication does it works the same way ?

All i want to do is start simple and build up from there. But i really need some directions on whats best to learn first and why.

Aucun commentaire:

Enregistrer un commentaire