Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

book about pro javaweb

 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anybody know a good book about how to design a fully functional web application using java, html, css and javascript? the web application here is intended for business activity, not promotional that only focuses on catchy visual effects. the app must be database driven, so data communication pattern is important, especially on ways the front end communicates with back end code.
 
Anayonkar Shivalkar
Bartender
Posts: 1557
5
Eclipse IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hendra Kurniawan wrote:anybody know a good book about how to design a fully functional web application using java, html, css and javascript? the web application here is intended for business activity, not promotional that only focuses on catchy visual effects. the app must be database driven, so data communication pattern is important, especially on ways the front end communicates with back end code.

Well, I'm not sure if there is a single book which covers all these. Generally, I've observed that people follow different books - 1 for UI, 1 for business logic, 1 for DB and so on (most of the time, you get better help regarding CSS/JavaScript on the internet instead of a book).

That given, can you please be more precise about what do you mean by Java? Is it Servlet/JSP, or EJB, or both (or something else)?
 
Palak Mathur
Ranch Hand
Posts: 342
IntelliJ IDE Java Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hendra Kurniawan wrote:anybody know a good book about how to design a fully functional web application using java, html, css and javascript? the web application here is intended for business activity, not promotional that only focuses on catchy visual effects. the app must be database driven, so data communication pattern is important, especially on ways the front end communicates with back end code.


As Anayonkar already said, you will need to follow different books to do that. Be specific in your requirements:-

1. What are you going to use for presentation layer - JSP?
2. Are you also going to use Servlets?
3. Which DB are you going to use?

etc.

We will be able to recommend books if we know the details.
 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not confined to only jsp. any framework (JAVA) will do, like JSF or GWT, ZK etc. I'm not very concerned about DB, but let's just choose mySQL. as for servlet, is it possible to not use servlets?
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depending on your requirements, you could look at Grails as an alternative. It allows you to build functional JEE web apps very quickly, but includes a lot of built-in functionality and applies common patterns for MVC, domains, templates for views, etc so you don't have to implement all this stuff yourself. The coding language is Groovy, but you can combine it with calls to existing Java code, it's built on top of Spring and Hibernate, everything compiles down to bytecode anyway, and the applications can be deployed to a JEE server in the same way as pure Java apps.

"Grails In Action" by Glen Smith and Peter Ledbrook will give you a quick intro to building Grails applications. Dierk Koenig's "Groovy In Action" contains pretty much everything you need to know about programming in Groovy. You could take an hour to work through the Grails QuickStart tutorial to see if you think Grails suits your needs.

But whichever Java-based framework you choose, you'll need more specialised books to tell you about the front-end stuff - CSS, JavaScript, jQuery etc - and about your specific database, especially for a production system where you need to understand security/performance/maintenance issues and so on.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic