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

Try Okta to add social login, MFA, and OpenID Connect support to your Java app in minutes. Create a free developer account today and never build auth again.

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!

 

Build and launch faster with Okta’s user management API. Register today for the free forever developer edition!

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}