Adam Bien's Weblog

Monday Aug 24, 2009

Netbeans 6.8m1 + Wicket - First Smoke Test

  1. Wicket Plugin is not available from the Plugin Manager for Netbeans 6.8m1 yet. You have to download it directly.
  2. The download (http://plugins.netbeans.org/PluginPortal/, search for Wicket) and installation are easy. You have to extract the zip file and point the Plugin Manager to the directory. After IDE-restart you are ready to go.
  3. An existing Wicket-Project was "recognized" correctly. wicket:ids were recognized. You can jump from the wicket:id in HTML into the corresponding Java-file.
  4. The structure of the Wicket-Components was correctly visualized in the Navigator (choose Wicket Tags)
  5. Renaming of the HTML and Java files works well. Both were correctly synchronized.
  6. The creation wizards for new Wicket Pages and Panels are helpful. The Java and HTML files are created simultaneously.

From time to time an exception dialog opened. This happens from time to time, but it seems not to influence the IDE stability. It is a known bug

The re-deployment of Wicket + EJB 3 + JPA in background works surprisingly well. Changes in Java files were recognized correctly - the deployment of about 15 EJB3 Session Beans, 55 JPA Entities, about 20 Wicket pages and panels takes about 1 second - to few seconds on Glassfish v2.1.

Changes in the HTML pages in the src folder in the WAR-projects were not recognized. After changing the HTML-files you will have to redeploy the project manually.

The wicket plugin is helpful and saves time - I keep to use it with Netbeans 6.8m1 in "production". 


Special Events: Java 8 with Java EE 7: "More Power with Less Code", 13th October, 2014 and Java EE 7: "Testing and Code Quality", 14th October, 2014

A book about rethinking Java EE Patterns

Comments:

Aha, so there is a way to get that Wicket plugin for NetBeans 8.1m1. Thanks Adam!

Your blog is such a good resource and nice read!

Posted by Tommy on August 24, 2009 at 01:06 PM CEST #

Btw Adam, is the "serialization problem with Wicket and glassfish" still there in the versions of glassfish in Netbeans 6.8m1?

Posted by Tommy on August 24, 2009 at 03:49 PM CEST #

@Tommy,

thanks for the nice comment. I didn't encounter the serialization problem yet...

thanks!,

adam

Posted by Adam Bien on August 24, 2009 at 03:57 PM CEST #

On a separate topic, what is the status of the Visual JSF plugin for Netbeans? Is ICEFaces the official maintainer now?

Posted by Bryan on August 25, 2009 at 08:02 PM CEST #

Hi Adam,
How did you get EJBs to work with wicket? I've just tried to do a simple example using nb6.8 in the JEE6 web profile but the EJB DI doesn't work, not that i really thought it would but I'd be interested in an example.

p.s. Loving the the new book, its a little rough around the edges presentation wise, but the content is truly excellent.

Posted by Adriaaaaan on August 27, 2009 at 03:26 PM CEST #

FYI, the fact that HTML pages are not redeployed on save automatically is a known issue: http://www.netbeans.org/issues/show_bug.cgi?id=145666.

Posted by Petr Jiricka on September 04, 2009 at 02:47 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
...the last 150 posts
...the last 10 comments
Links
License