NetBeans Java Web Application Primer Tutorial

NetBeans Java Web Application Primer Tutorial

NetBeans Java Web Application Primer Tutorial

Today’s NetBeans Java Web Application primer tutorial builds on our previous Tic Tac Toe game shown below. We need to revisit this area of NetBeans to examine web Java Servlets, at a later date, because this Tic Tac Toe Java Web Application only goes so far as to use a JavaServer Page using JavaScript but Ajax, for instance, can be part of such functionality. In saying that, take a look at the last two slides of the tutorial to see that you can mix Java with HTML when you use JSP functionality.

Programming IDEs take a lot of the hard work out of tasks such as compiling and linking in languages such as Java, C, C++, VB.Net and C#. In the case of NetBeans IDE, which this blog reintroduces to you today (its customary to shake hands, and no Klingon is necessary), it can create a Java Web Application, for instance, as we do today to create a Tic Tac Toe game as a web application. To cut a long story short, there aint nothin’ wrong with a good ol’ IDE, but beware of IDEs in March.

In saying that about IDEs, and how they make programming easier, often with Open Source programming, it is advantageous to know what goes on “under the hood” (or even “in the ‘hood” … chortle, chortle). So if you ever get an opportunity to get helped creating your own makefile (or make it yourself, even with the Sweet Green Icing … knew it could be worked in!) for something, take the opportunity to learn how to do this, as the Open Source world will become a little easier to navigate with such types of knowledge. You’ve got to admire those early designers of computer languages, and those days when all you had was this tiny bit of memory (64k or “into the heliosphere on 8,000 bytes of memory”) to play with to create your program.

In doing this NetBeans Java Web Application found that Java JDK 1.6 needed to be upgraded to Java JDK 1.7 to allow for the workings of the GlassFish Web Server used by NetBeans, and, in order to do this, found How to upgrade JDK 1.6 to a higher version to run Glassfish? was incredibly helpful pointing to Java SE Downloads as the useful download area of interest.

NetBeans can be an IDE for much more than Java … it can supervise PHP, C++, Maven, Groovy and HTML/Javascript. In coming days and weeks we’ll look at more.

Link to downloadable NetBeans Java Web Application JavaServer Page programming source code at index.jsp

Link to NetBeans “spiritual home” download page at NetBeans.


Previous Tic Tac Toe game shown below.

New game

Here is a great movie scene that springs to mind.

If this was interesting you may be interested in this too.


If this was interesting you may be interested in this too.

This entry was posted in eLearning, NetBeans, Tutorials and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>