Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Start Learning Wicket with Maven & NetBeans IDE

DZone's Guide to

How to Start Learning Wicket with Maven & NetBeans IDE

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

The Wicket project's Quick Start is, conveniently, based on Maven. Why convenient? Because NetBeans IDE has great support for it. Here I show you how easy it is to get started with Wicket's Maven-driven Quick Start in NetBeans IDE 6.x.

First, install the Maven plugin from the Plugin Manager. Then read the Apache Wicket Quick Start. Notice that this is the command line that the Quick Start instructs you to work with:

mvn archetype:create        -DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart
-DarchetypeVersion=1.3.3
-DgroupId=com.mycompany
-DartifactId=myproject

OK, let's go. In the New Project wizard, select the Maven project type...

...then click Add and use the info from the command line to create a new archetype:

...and in the final panel fill in whatever you like...

...finally, click Finish, watch the interesting output in the Output window, and then note that you have an entire new Maven project, populated with the info from the Wicket repository:

At this point, right-click the project, choose Properties, and select a server in the Run panel. Then run the application and you're done. Then take a quick tour of Wicket and use all the other cool resources on the Wicket site!

 

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}