JBoss Community hosts ~100 projects focused on integration, business rules, processes, NoSQL, cloud, mobile, polyglot, messaging, tooling, alternative development frameworks and more. WildFly (nee JBoss Application Server or JBoss AS) is undoubtedly the most popular project in this community.

This Tech Tip will show how to get started with WildFly.

JDK7 : WildFly requires JDK 7. So if you do not have it already installed on your machine then download your platform-specific package for JDK 7 U45 and install.

: WildFly requires JDK 7. So if you do not have it already installed on your machine then download your platform-specific package for JDK 7 U45 and install. Binary or Source Bundle : Download WildFly 8.0 Beta1 binary.You can also download associated source code and build it yourself too!

: Download WildFly 8.0 Beta1 binary.You can also download associated source code and build it yourself too! Operation Mode: WildFly has two modes of operation: Standalone and Domain. In Standalone mode, a single instance of WildFly server is started. WildFly Domain mode allows you to control and configure multiple instances.Standalone WildFly instance can be started as: ./bin/standalone.sh It displays a message like:

17:01:47,547 INFO [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management 17:01:47,548 INFO [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990 17:01:47,548 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Beta1 "WildFly" started in 5771ms - Started 180 of 217 services (62 services are lazy, passive or on-demand) 1 2 3 4 5 17 : 01 : 47 , 547 INFO [ org . jboss . as ] ( Controller Boot Thread ) JBAS015961 : Http management interface listening on http : //127.0.0.1:9990/management 17 : 01 : 47 , 548 INFO [ org . jboss . as ] ( Controller Boot Thread ) JBAS015951 : Admin console listening on http : //127.0.0.1:9990 17 : 01 : 47 , 548 INFO [ org . jboss . as ] ( Controller Boot Thread ) JBAS015874 : WildFly 8.0.0.Beta1 "WildFly" started in 5771ms - Started 180 of 217 services ( 62 services are lazy , passive or on - demand ) localhost:8080:

And that’s it!

Now you are running WildFly on your machine. Lets see what are the key features of WildFly 8:

Java EE 7 support – At this point all user facing APIs have been implemented, more on this in a subsequent blog.

Fast Startup: Server started in about 5 seconds.

Small Footprint by minimizing GC pauses and starting/stopping service on demand.

Modular Design by loading classes on demand using JBoss Modules. OSGi 4.2 support is available out-of-the-box.

Unified Configuration and Management available from polished user-friendly web console, Java and HTTP APIs, and CLI. Only three ports are exposed in beta 1 (8080 for applications and 9990 for management, and the third port 9999 will be deprecated) by multiplexing protocols.

Here are some handy useful resources to take your WildFly experience to the next level:

Want to learn more about WildFly ? Watch Introduction to WildFly webinar by Jason Greene and Stuart Douglas.

I built the source code on my machine (with no .m2 directory) and saw the following message:

[INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 33:49.934s [INFO] Finished at: Wed Oct 23 18:40:08 EDT 2013 [INFO] Final Memory: 319M/836M [INFO] ------------------------------------------------------------------------ 1 2 3 4 5 6 7 8 9 [ INFO ] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- [ INFO ] BUILD SUCCESS [ INFO ] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- [ INFO ] Total time : 33 : 49.934s [ INFO ] Finished at : Wed Oct 23 18 : 40 : 08 EDT 2013 [ INFO ] Final Memory : 319M / 836M [ INFO ] -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

How long it takes on your machine ?