align-toparrow-leftarrow-rightbackbellblockcalendarcamerachatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditfacebookglobegoogleimagesinstagramlocation-pinmagnifying-glassmailmoremuplabelShape 3 + Rectangle 1outlookpersonplusImported LayersImported LayersImported Layersshieldstartwitteryahoo

Re: [ljc] Introduction to Java Training Course

From: Jon H.
Sent on: Thursday, May 31, 2012 4:05 PM
I would say yes it's good for the web, you can do simple JSP and servlet websites right up to enterprise web applications with frameworks (EJB, spring) and tag libraries (Jstl, displaytag). It's architecture is sophisticated unlike eg php which is too simple for advanced systems, should you wish to build one.

If you only want simple websites php would be ok

Regarding web design, you can layer javascript like mootools, jquery and css onto either technology

Sent from my HTC

----- Reply message -----
From: "@sleepyfox" <[address removed]>
Date: Thu, May 31,[masked]:23
Subject: [ljc] Introduction to Java Training Course
To: <[address removed]>

Java (the language) wasn't designed with the World Wide Web in mind, because the Web was not public at the time (the Oak language, runtime and hardware was demonstrated to Scott McNealy in 1992, a year before CERN lifted the license restrictions from the WWW allowing it to go public). Java was however designed with the Internet in mind. Later on in it's development, it would implement the applet spec that enabled Java applications to be delivered to the browser, but that wasn't till mid-1995 with the advent of HotJava. 

The question "Is Java a good language for developing websites" is a bit odd. I would have said "start with HTML and CSS". Of course, the OP may have meant "is Java a good language for scripting web pages" in which case I would have said "start with JavaScript". Only if the OP had already done both of the above can we get down to "is Java a good language for building dynamic web applications", in which case I probably would say "it certainly can be done (q.v. Spring and Play et.al.) but it seems a lot of people prefer something more dynamic e.g. Ruby/Rails or Groovy/Grails or..."

My $0.02

N. 


On Thursday, 31 May 2012, John Stevenson wrote:
Hello Lakhjeet,
Java was designed with the web in mind (back in the early 1990's) and many projects have been created that help a developer create dynamic data driven websites, these projects are often referred to as frameworks.

For a new Java or Scala project, I suggest looking at the Play Framework http://www.playframework.org/.  It is nicely documented and is designed to use other great libraries for the web such as Google Closures.

Many existing Java web projects are based on Struts, Webwork, Java Server Faces (JSF), Tapestry, ...).  These take slightly different approaches and all have their benefits and challenges.  There is a comparison of some of these Java frameworks on Wikipedia, but not sure how up to date it is.

If you do anything visual for the web, then you should also learn JavaScript (and perhaps CoffeeSrcipt & Node.js) as well as some HTML5.  Or find some great open source projects that you can use with these technologies - 3djs.org, processingjs.org, ...

Hope this helps.

| About | Blog @JR0cket « previous back to mailing list archive next »

Our Sponsors

  • Our Blog

    Read the latest news from the LJC

  • RecWorks Ltd

    Fixing Tech Recruitment using the Power of Community

  • jClarity

    Java/JVM Performance Analysis Tools & mentoring for Java related matters

  • LJC Aggrity

    Our LJC Aggrity site contains blog posts from our members

  • LJC Book Club

    Our Book club with book reviews from our members

  • Devoxx UK

    Java Community Conference in collaboration with the LJC, 8-10th June 16

  • SkillsMatter

    "Host, help organise, promote, film many of our meetings."

  • IBM

    Build Enterprise-grade apps at start-up speed.

  • New Relic

    New Relic makes sense of billions of metrics a day in real time.

  • Hazelcast

    Hazelcast is the leader in operating in-memory computing.

  • Java.Net

    We are an official Java User Group recognised by Oracle's JUG program

  • JRebel

    Free 3 month J-Rebel license.

  • O'Reilly

    40% discount on printed books and 50% on e-books.

  • Craft Rebellion

    Your choice of fresh craft beer, delivered. For 10% off use ‘LJC'

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy