NetBeans Java RESTful Message Board Primer Tutorial

NetBeans Java RESTful Message Board Primer Tutorial

NetBeans Java RESTful Message Board Primer Tutorial

The NetBeans IDE is great for Java projects, and today we take a NetBeans sample project that features a RESTful Web Service component to build a rudimentary Message Board.

What functionality is at the heart of this Message Board using the RESTful Web Services as its conduit for multiple users to share data?

  • add message
  • delete message
  • get message (via ID for example)

Of course, that is a basic design, and that is what the sample NetBeans Message Board project offers with underlying Java code. We’ve gathered together some source files as follows …

Perhaps you noticed the use of HTTP://localhost:9190 for the Glassfish server today, inferring the use of port 9190, rather than the default 8080 port that is the default, but clashes with Jenkins’s default port 8080? How we got the two to live together was to change the web server HTTP port of Glassfish to be 9190, via, command …


sudo vi /Applications/NetBeans/glassfish-4.1/glassfish/domains/domain1/config/domain.xml

… and changing all (two) references to 8080 to be 9190.

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

This entry was posted in eLearning, 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>