Tag: NetBeans

  • NetBeans and Tomcat – Transport Error 202

    I generally develop any Java applications I’m working on in NetBeans and while I prefer to use GlassFish as a container I find myself using Tomcat quite a bit. Unfortunately the debugging connection between NetBeans and Tomcat can sometimes be less than perfect.

  • JavaFX 2 with JPA 2 and Drag and Drop – Part 1

    After a bit of a break away doing other things I’m back on a project that uses JavaFX 2. So far this project hasn’t required much in the way of persistence either for settings or data but a new feature I’m working on makes use of a database. I use JPA 2 for web based…

  • How to Modify the Default NetBeans Template

    By default every single class that you create with NetBeans will start with a header that tells you how to change the template. This header has found it’s way into just about every file in all my projects and it serves no useful purpose, why it can’t just be an empty comment I don’t know…

  • Netbeans 7.3 Maven Profiler Issue

    Neatbeans 7.3 has just been released (yeah) and, like every release it has brought a host of new bugs with it. I try not to document bugs because they tend not to be around for very long and bug databases are normally a better place to look but this one falls into the difficult to…

  • NetBeans License Magic

    As a general rule I don’t include license information at the top of each source file (I’m sure a lawyer would be outraged)  because no one but me should ever see the source. I’ve recently started work on an open source project though so I thought I’d best investigate how to get NetBeans to automatically…

  • JavaFX 2.0 and Maven – Part 4

    The final part of the Maven JavaFX build is getting NetBeans to correctly run the application. This, it turns out, is more difficult than I expected. This discussion covers a the problems quite well and is worth a read. I will admit up front that the solution I give here is not pretty, in fact…

  • JavaFX 2.0 and Maven – Part 3

    This (hopefully) final instalment of this series of articles on building JavaFX applications with Maven will refine what was done in the previous article. The previous article got us to the point where we were able to build a stand alone JavaFX application this article aims to do that with flare and produce roughly the…

  • JavaFX 2.0 and Maven – Part 2

    The previous part of this article covered how to set up a Maven project for JavaFX 2.0 and how to provide the required dependency. This part of the article will show you how to build a runnable jar file.

  • JavaFX 2.0 and Maven

    I decided to have a bit of a play with JavaFX 2.0 the other day as we have a project coming up that may be a good candidate for using it. My first impression of JavaFX 2.0 is generally very positive, it’s a lot like Swing with the sharp edges knocked off. I’d like to…

  • Simple CRUD Example – Part 1

    If you have ever developed a web application you’ll know that most of the code you write is not clever business logic that’s doing complicated calculations but actually fairly simple CRUD (Create, Reuse/Retrieve, Update, Delete) code. Since this is the type of code that gets written all the time it makes sense to know it…

  • Maven Build Problem with JDK 7

    I recently upgraded my system from Java 6 to Java 7. Over all I’m really pleased with the improvement I’m seeing from Java 7 but the upgrade has come with a little cost. For some reason I’m getting a failure in NetBeans when I try to deploy one of the web applications that I’m working…

  • Getting Started with JEE 6 – Creating a New Project

    This short series of articles covers some of the basics of working with Java EE 6 (JEE6) and in particular JSF 2.0 and CDI (JSR 299 Context and Dependency Injection). JSF 2.0 and CDI bring some fantastic new functionality to the table but at the same time they also replicate a lot of existing ideas…