Over a million developers have joined DZone.

New WebSphere Liberty Features

DZone 's Guide to

New WebSphere Liberty Features

WebSphere Liberty is out, and is packed with a bunch of neat features! Let's look at REST API discovery improvements, repository installs, and more.

· Integration Zone ·
Free Resource

Since delivering Java EE 7 Full Platform compliance back in June, we’ve been finishing off some of the other WebSphere Liberty features that we’ve beta’d over the past few months.

REST API Discovery

  • Developers can now discover REST APIs available on a Liberty server with a new Swagger-based discovery model! Simply add the apiDiscovery-1.0 feature to your Liberty instances, add a swagger.json file to your web module’s META-INF folder. Alternatively, configure a different URL (see the documentation) and you’ll be able to fetch an aggregated swagger.json via the URL https://host:https_port/ibm/api/docs if you want to work with the raw JSON data, or you can visualize the attractive UI at https://host:https_port/ibm/api/explorer, which lets you navigate and invoke your REST APIs from the browser. Try it out!
  • There’s a wizard to create the swagger.json file to define the REST API document. You have two options:
  • Create a template swagger.json file, which will create a META-INF/swagger.json file consisting of just the top level required Swagger elements.
  • Create a sample swagger.json file, which will create a META-INF/swagger.jsonconsisting of a number of generated configurations.beta-nov2015-3

Find and Install Features from Within the Server Configuration Editor

Can’t find the features you’re looking for? Install them right from the Add Features dialog! Convenient right?beta-nov2015-1

Install Content from Local Repositories

Don’t have access to the online Liberty Repository? Use a local repository instead. Local repositories are folders or zip files containing installable Liberty features and/or addons. Configure WebSphere Developer Tools to access your local repositories and install away.beta-nov2015-2

Migration Toolkit 

The migration toolkit has been updated to provide more assistance for migrating to Liberty. Both the Eclipse source scanning and binary scanning tools are updated with new and updated rules for Java EE 6 to Java EE 7 migration, as well as WebSphere classic to Liberty migration. The binary scanning tool can now generate reports in multiple languages.

websphere ,java ee 7

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}