Over a million developers have joined DZone.

How to Start Learning Wicket with Maven & NetBeans IDE

· Java Zone

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

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!

 

Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

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

{{ parent.tldr }}

{{ parent.urlSource.name }}