Coming Up for Air

Entries Tagged: REST

A Jersey POJOMapping Client/Server Example

JAX-RS is the specification that describes how to build RESTful interfaces in a Java EE environment. Jersey is the reference implementation of that spec, and, like many implementations, offers features above and beyond what spec does. One feature that I’ve been working with recently is the POJOMapping feature, which makes writing services and clients much [...]

Book Review: Real World Java EE Night Hacks – Dissecting the Business Tier

Last week, a great post by Adam Bien brought his latest book, Real World Java EE Night Hacks – Dissecting the Business Tier, to mind. I have since gotten myself a copy and thought I’d share my thoughts here.

GlassFish REST Client: ComplexExample.java

In a series of recent posts, I’ve shown off what the GlassFish 4.0 REST client wrappers should look like, giving simple examples of using the wrappers using both Java and Python, the two currently supported languages. In this post, we’ll take a look at a more complex example, that of setting up clusters and standalone [...]

GlassFish REST Client Goes to the Flying Circus

It happened a bit more quickly than I had planned, and, yes, I know that’s a pretty bad Python joke, but, as promised, I just committed code to add support for generating Python REST clients to the GlassFish RESTful Administration interface. Let’s take a quick look at it.

GlassFish REST Interface, a Client-side Perspective

As I’ve covered here before, GlassFish sports (and has for a while now), a pretty comprehensive set of management and monitoring REST endpoints. While this goes a long way toward opening up GlassFish management to various scripting solutions, the client side is still pretty manual. One my goals in GlassFish 4.0 is to fix that. [...]

Managing GlassFish JDBC Resources via REST

I was asked this morning about creating JDBC resources via REST. As with user management, it’s actually pretty simple, once you’ve seen how. Let’s take a look.

Adding Users to a GlassFish Realm via REST

A user on the GlassFish forums recently asked how to create users in bulk. The asadmin command create-file-user doesn’t support passing the password as a parameter, which makes scripting difficult. The REST interface, though, can help there, and it’s really pretty simple.

Debugging GlassFish REST Requests

If you’ve been following my series on using the GlassFish REST interface, you’ve probably noticed that your JSON and XML output isn’t pretty-printed like mine. While there are several online tools that can fix that for you, there’s no need for the extra step. GlassFish will do that for you. Let’s look at how to [...]

RESTful GlassFish Monitoring

In previous posts, I’ve shown various ways to manage a GlassFish 3.1 server via its REST interface. As nice as that is, we also support monitoring your server via REST as well. In this article, we’ll take a look at some of the things you can ask of your server.

GlassFish 3.1, REST, and Secure Admin

After posting my last entry, GlassFish 3.1, REST, and a Secured Admin User, I was asked about an entry on using GlassFish 3.1′s REST interface with secure admin enabled. Some of you may be asking, “Isn’t that what you just wrote about?” While the titles sound the same, they’re slightly different, but in a very [...]

Sorry, but tertiary does not exist. Please make sure this file exist in /home/tlh/steeplesoft.com/blogs/wp-content/themes/blueblogger