Thursday May 07, 2015
Tuesday Aug 26, 2014
By David Delabassee-Oracle on Aug 26, 2014
The Model–View–Controller (MVC) pattern has been used for several decades to implement user interfaces. And when it comes to MVC Web frameworks, those can be categorized as action-based or component-based. JavaServer Faces is a component-based MVC framework.
Through the survey, the community has expressed interest in an action-based MVC approach. Santiago Pericas-Geertsen has recently posted a draft proposal for a JSR ('MVC 1.0 JSR') that would define a MVC action-oriented framework for the Java EE platform. This MVC JSR is not intended to replace JSF (component-oriented) but offers, instead, a different approach to building Web applications on the Java EE Platform.
One of the goals of the MVC JSR is to leverage existing platform technologies where it makes sense (e.g. CDI and Bean Validation seems obvious candidates for the Model part).
The initial though was to define this (action-based) MVC framework in the JAX-RS specification but after initial feedback and discussions, the general consensus was that a separate JSR would be more appropriate. Technically, JAX-RS is still one of the option for the Controller part but everything is open and will have to be discussed in the EG. The outcome of those discussions might be that something else is needed for the Controller, or that there's a way to define a Controller independently of the underlying technology and JAX-RS would then be 'plugged' in, we will see... One thing is clear, defining a new template language is not in the scope of the MVC proposal!
We have strong team to lead the MVC JSR : Santiago Pericas-Geertsen (who is also the JAX-RS Specification co-lead) and Manfred Riem (who is also the JSF Specification co-lead). They will, for sure, get support from other community participants (e.g. Red Hat).
In terms of planning, Santiago is looking for supporters before he submits the proposal to the JCP. The JSR itself is aligned with the Java EE 8 planning.
Wednesday May 28, 2014
By David Delabassee-Oracle on May 28, 2014
- the Servlet API
- the WebSocket API
- or even having a dedicated SSE API, and thus a dedicated JSR too!
Wednesday Jul 10, 2013
By reza_rahman on Jul 10, 2013
JAX-RS 2 is one of the most significant parts of the Java EE 7 release. In a brief InfoQ article, Vikram Gupta overviews the major changes in JAX-RS 2. There's also the 20-minute JAX-RS 2 presentation by specification lead Santiago Pericas-Geertsen on the GlassFish videos YouTube channel and my own slide deck below:
Friday May 10, 2013
By reza_rahman on May 10, 2013
JavaOne Russia 2013 was held at the Crocus Expo Center in Moscow on April 23-24. The conference was a resounding success with a great vibe, excellent technical content and numerous world class speakers. Some notable speakers included Werner Keil, Joonas Lehtinen, Heather VanCura, Paul Bakker, Bert Ertman, Talip Ozturk, Anil Gaur, Geertjan Wielenga, Arun Gupta, Jim Weaver, Stephen Chin and David Delabassee. Topics covered included the JCP/JUGs, Java SE 8, Java EE 7, HTML 5/WebSocket, JSF, JMS 2, JAX-RS 2, Java EE Concurrency, JBatch, JSON-P, NetBeans, MySQL, Vaadin, the Oracle Java Cloud, OpenShift, OSGi, JavaFX and Coherence.
I delivered the Java EE technical keynote, two technical sessions (one on JSM 2 and the other on JAX-RS 2) and three lighting talks (on Java EE Concurrency, JBatch and JSON-P). I also helped deliver two hands-on-labs (on Java EE 7 and the Java Cloud Service). More details on the sessions and JavaOne Russia 2013, including the slide decks and code, posted on my personal blog.
Wednesday May 08, 2013
By reza_rahman on May 08, 2013
The 130th episode of the Java Spotlight podcast features an interview with JAX-RS 2 co-spec lead Santiago Pericas-Geertsen. JAX-RS 2 is one of the key parts of the Java EE 7 platform and a vital update to the very popular API. Santiago talks with Roger Brinkley about the motivation for the JSR, some of the API details such as the client API, asynchronous processing, interceptors/filters, Hypermedia support and content negotiation, current status of the JSR as well as what's in the future.
You can listen to the full podcast here. It's really a great starting point for learning about JAX-RS 2. You can certainly give the proposed final draft a read yourself (the API recently passed it's final approval ballot). At ninety some pages, it is not too bad of a read. You can also try the API out with a GlassFish promoted build.
Friday Apr 05, 2013
By reza_rahman on Apr 05, 2013
JAX-RS 2 is one of the most significant parts of the upcoming Java EE 7 release. In a brief article, consultant, German author and celebrated Java EE advocate Adam Bien does a great job of overviewing the major changes in JAX-RS 2. He talks about asynchronous processing, EJB/CDI integration, filters/interceptors, the configuration API, the client API and more.
If the article whets your appetite to learn more about JAX-RS 2, you could download the actual proposed final draft and give it a read. For those unaware, JAX-RS 2 recently passed its public review ballot. At just above 90 pages, the actual JAX-RS 2 specification document is not that bad of a read.
Wednesday Dec 19, 2012
By reza_rahman on Dec 19, 2012
Java EE 7 is turning the last lap! Late last month JAX-RS 2 (JSR 339) and Bean Validation 1.1 (JSR 349) were adopted by public review ballot, making them the first two JSR's to be ratified. InfoQ interviewed Marek Potociar, JSR 339 co-spec lead (Marek and Santiago Pericas-Geertsen are the dynamic duo leading JAX-RS).
Marek talks about JAX-RS 2 content, it's significance and the future. Read the full interview here.
Sunday Mar 18, 2012
By alexismp on Mar 18, 2012
As reported previously here, the JAX-RS 2.0 (JSR 339) expert group is making good progress.
Marek discusses the new client API, filters/handlers, BeanValidation integration, Hypermedia support (HATEOAS), server-side async processing and more.
With JSR 339's Early Draft Review 2 currently out, another draft review is planned for April, the public review should be available in June while the final draft is currently scheduled for the end of the summer. In short, expect completion sometime before the end of 2012.
Wednesday Feb 22, 2012
By alexismp on Feb 22, 2012
This is an entirely new code base which uses HK2 for dependency injection (a core technology for GlassFish), offers a new asynchronous internal design as well as an API to programmatically define JAX-RS resources. Read about these and more about what's new in Marek's detailed post. Of course this is also the future reference implementation for JAX-RS 2.0.
Feel like trying it out? Simply go to Maven Central (of course none of this is production quality at this point).
Thursday Feb 09, 2012
By alexismp on Feb 09, 2012
The Client API seems to be a very popular feature and one that seems pretty stable at this point. Filters and Handlers is another set of new features enabling interception of requests and responses while Hypermedia, a founding principle for REST, is better supported. JAX-RS 2.0 also offers the ability to validation parameters with BeanValidation, introduces asynchronous processing (returning
Future objects on the client side) and finally better connection negotiation. Read all about it here.
JAX-RS has become an important component of the Java EE platform and the cloud theme going forward is only making it even more relevant. Check out this earlier post for Marek's (co Spec Lead on JAX-RS 2.0) take on where the JSR stands.
Sunday Jan 08, 2012
By alexismp on Jan 08, 2012
Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.
While most parameter handling examples with JAX-RS focus on
Meanwhile, François explores Jersey's support for MVC where the Controller is a resource class, the model is returned by a resource method, and the view is a template which operates on the model (this is inspired by the stapler project and is also used by Hudson). Note that this is not part of the JAX-RS standard.
To close this quick roundup, I'd like to point you to a month-old JAX-RS blog entry by Adobe's Christophe Coenraets combining jQuery and JAX-RS/Jersey as probably the one with the best taste to date (IMO, etc...) !
Update: John Yeary has (a lot) more JAX-RS resources for you.
Friday Jan 06, 2012
By alexismp on Jan 06, 2012
Recent Tips and News on Java, Java EE 6, GlassFish & more :
Tuesday Dec 13, 2011
By alexismp on Dec 13, 2011
Jersey 1.11 is scheduled to be available as part of the upcoming GlassFish 3.1.2 release. More on other component updates for this release in an upcoming post.
I can't help but wonder if the number of Canadians involved in MOXy has anything to do with it being named after a heavy metal band. Project and product names are always fun stories.
Saturday Dec 10, 2011
Tab Sweep - Magical GlassFish, coding style, JAX-RS & silverslight, strong-typing & BeanValidation, meaning of life...
By alexismp on Dec 10, 2011
Recent Tips and News on Java, Java EE 6, GlassFish & more :
• Fun with GlassFish (René)
• on coding style (John Rose)
• REST with JAX-RS and Silverlight clients (Arnon @ DZone)
• Combining Strong Typing and Bean Validation (JSR 303) (Michael Schnell)
• What is the Meaning of Life? (The Java Specialists' Newsletter)
• Java User Groups are joining the JCP community (the JCP blog)
• Automating Remote Deployment to Oracle WebLogic from Hudson (Duncan)
• JSR 107, JSR 347, Infinispan, NoSQL, Hot Rod, Memcached, CDI and Beyond (Manik @ InfoQ)
• Apps Web em Wicket e Scala no GlassFish JavaEE 6 (Bruno Borges)
• Oracle WebLogic 12c Launch Webinar Replay (Oracle.com)
• Christmas Greetings e-Cards
Podcasts & Videos
- JSON-P 1.1 Early Draft Released!
- Servlet 4 Early Draft Needs You!
- Java EE @ Voxxed Days Istanbul 2015
- Ivar Grimstad's Java EE Sessions at JavaOne 2015
- Some JSF news
- WebSphere Liberty Now Java EE 7 Compatible!
- Using HTML 5 with JSF 2.2/Java EE 7
- Java EE @ GIDS 2015
- Java EE 7 Maintenance Release
- Java EE 7 in Production at safsms.com