How do I start building web applications using Java?

I want to start web development with java. I don’t know how to start, what to study, or what is the best web structure to learn and use. Help me?

+6
java web-applications
source share
7 answers

I assume you are new to web applications, not Java itself.

For starter, I can recommend Apache Wicket for interface. Their website is full of examples, mailing lists are a great place to get started, and Wicket in Action is a nice read.

If you want to work with Java Server pages (JSP), then you also definitely need to enable Java Server Faces (JSF), which simplify working with JSP. I can’t defend you with any good books, as I mainly did web tutorials. Maybe you should take a look at Apache MyFaces .

For business logic, I think Enterprise JavaBeans (EJB) is standard. I liked Mastering Enterprise JavaBeans 3.0 . An older version of the book is available for free at TheServerSide.com . You should avoid EJB versions older than 3.0 because they are PITA!

A separate part of the EJB 3.0 specification is the Java Persistence API 1.0 (see, for example, Apache OpenJPA , although the documentation is mixed). Other structures supporting JPA are, for example, Spring or JPOX (now called DataNucleus ).

Finally, if you need an application server for testing, JBoss by RedHat , SUN Glassfish, and Apache Geronimo (I preferred the latter, but you may already have noticed my preference for Apache projects :-))

Good luck

+7
source share

Well, if you don't know much about Java, first I suggest going back and getting the first foundation in Java strong first (because after all the Java JSPs are embedded in the HTML), go on to learning about servlets, and then go on to for jsp.

Regarding learning JSPs, I would suggest buying a book, Head First Servlets, and JSPs are pretty good books.

Head First Servlets and JSP

JSP Tutorial

Getting Started with Web Application - JSP / Servlet

+5
source share

I think Grails is a great way to get started. You can use scaffolding for a quick start, allowing you to plunge into the more complex aspects of Java web development at your own pace. I recommend that you watch this screencast to find out what you think.

+1
source share

This is a big question and you need to learn a lot.

I can recommend learning Java very well first.

You will need to be very knowledgeable in Java, as most framework documents expect this.

When you have it under your belt, you are much better prepared to determine which structure is best for you, since it very much depends on which objects you really need and which you do not need.

+1
source share

The WEB4J tool is probably worth a look.

It has a much smaller number of classes compared to other tools. This is a "full stack", so it helps you create all the parts of your web application. Thus, you do not need to learn several different tools - only one.

The college instructor told me that he felt that he was "almost perfect" for his students, because he was at the right level and did not hide things behind complex abstractions - it was clear to see how all the parts worked together.

+1
source share

If you know java, you can always start reading this book, https://secure.manning.com/books/deshmukh This will give you the basic foundation for developing a Java network.

0
source share

I recently asked a similar question. See if it helps.

0
source share

All Articles