The Apache Tomcat team have announced the availability of Tomcat 8.0.0-RC1. Tomcat 8 is expected to support Java EE 7, with this new release adding support for Servlet 3.1, JSP 2.3, EL 3.0 and WebSocket 1.0
In the release notes, the team states the purpose of this release candidate is:
“to give users an opportunity to test Tomcat 8 and provide feedback to the Tomcat community. It has been given an alpha status which means that it is not judged as being ready for production usage. The implementations of the 4 Java EE 7 specifications are all complete but there is some internal refactoring to be completed before the alpha label is removed.”
As usual, release notes are available. The software can be downloaded from the project site.
Hopefully with Tomcat 8 being released, this will pave the way for Apache TomEE to be fully Java EE 7 compliant.
Have you used Tomcat 8 or are you going to wait until its released as RC to use it? Leave your comments below.
The Apache Tomcat Team have announced the immediate availability of Tomcat version 7.0.42.
This new release fixes several issues including one security issue related to Javadoc vulnerabilities. The highlights include:
- Add support for time to first byte in the AccessLogValve. Patch provided by Jeremy Boynes.
- Correct a regression introduced in 7.0.39 (refactoring of base 64 encoding and decoding) that broke the JNDI Realm when userPassword was set and passwords were hashed with MD5 or SHA1.
- Ensure that the build process produces Javadoc that is not vulnerable to CVE-2013-1571. Based on a patch by Uwe Schindler.
As usual, full details of changes in this release can be found in the project’s changelog.
This new version of Tomcat can be downloaded from the project’s download site.
Last week saw the first release of RichFaces 5.0.0.Alpha1.
RichFaces is described by JBoss as “an advanced UI component framework for easily integrating Ajax capabilities into business applications using JSF.”
RichFaces had its origins in the Ajax4JSF project and as such, some of the components used within the project used the ajax4jsf namespace (
a4j:), whereas the rest used the RichFaces namespace (
rich:). RichFaces 5 has rationalised its components so that they now all fall under the new RichFaces namespace (
r:). For example, in RichFaces 4, a context menu was instantiated in a JSF page as
rich:contextMenu. In RichFaces 5, this has now been simplified to
Other major changes to RichFaces 5 are not immediate to developers, but are important nonetheless. They include advanced testing of components using Arquillian, using asciidoc for documentation and a cleaner build environment. Brian Leathem, the RichFaces project lead, has provided details of how these have been achieved and why they are important on his blog.
Further information about RichFaces can be found on the project’s site, and examples of the RichFaces 5 components can be found on the RichFaces Showcase.
If you missed the Java EE 7 Keynote and Breakout Sessions for the new JSR’s included with EE 7, then you can now watch them On Demand.
The Keynote is introduced by your friendly host Arun Gupta (Java EE and GlassFish Evangelist) and features talks by Hasan Rizvi (Executive VP Oracle Fusion Middleware and Java), Cameron Purdy (VP Development @ Oracle) and Linda DeMichiel (Spec Lead for Java EE 7 Platform).
The Keynote runs just over an hour and includes examples and demonstrations of the new features in the EE 7 platform.
In addition to the Keynote, several Breakout sessions are available describing the new featres and JSRs available:
- Java API for JSON Procession 1.0
- Java API for WebSocket 1.0
- Java API for RESTful Web Services 2.0
- JavaServer Faces 2.2
- Servlet 3.1
- Expression Language 3.0
- Enterprise Java Beans 3.2
- Contexts and Dependency Injection 1.1
- Java Transaction API 1.2
- Interceptors 1.2
- Bean Validation 1.1
- Batch Applications for the Java Platform 1.0
- Concurrency Utilities for Java EE 1.0
- Java Message Service 2.0
- Java Persistence API 2.1
- GlassFish Admin Console
If you missed the launch webcast, or didn’t have time to watch all of the Breakout sessions, then this is an excellent opportunity to catch up.
Which of these new APIs with Java EE 7 are you most interested in? Leave your comments below or on the Develop In Java Google+ Community page.
Following on from today’s earlier release of Java EE 7 and GlassFish 4, Oracle has released NetBeans 7.3.1.
NetBeans 7.3.1 supports Java EE 7 and comes bundled with GlassFish Server 4 Open Source Edition as well as Tomcat 7.
In addition to supporting Java EE 7 and GlassFish 4, support for WebLogic 12.1.2 and JBoss AS 7.x have been added to this release.
To use all the new features of Java EE 7, the NetBeans team recommend downloading and installing the full NetBeans 7.3.1 distribution as this is supplied with GlassFish 4. Alternatively, the latest parches can be applied to a NetBeans 7.3 installation using the product’s Update facility.
A full list of bugs fixed in NetBeans 7.3.1 can be found here.
Today has been a busy day for Java EE developers. Leave your thoughts on the new Java EE 7, GlassFish and NetBeans products as a comment below or in the new Develop In Java Google+ community.
GlassFish 4 has been released today and is available for download from java.net
GlassFish 4 is the first Java EE 7 compliant application server and supports the 14 new JSRs and 9 Maintenance Releases in EE 7.
The new server is available with a “Get Started Quickly” guide which details how to get, install and start using the GlassFish server. Much more documentation including, upgrade guides, development guides and tuning guides can be downloaded from the project’s Documentation hub.
Since this is the first application server to support Java EE 7, there will surely be many Java developers eager to download it and to start learning the new APIs. What are your thoughts? Are you eager to learn Java EE 7, or are you waiting for other application servers to catch up? Leave your thoughts below.
In a recent blog post, Adam Bien, has shown how the upcoming Java EE 7 api fixes issues that were present when testing applications against Java EE 6.
In Java EE 6, applications could be compiled against the Java EE 6 api using the
javaee-web-api Maven artifact. As the classes in the maven artifact however were just stub classes they only allowed compilation and would not allow a set of tests to run against the api’s outside of the application server. This would cause ClassFormatErors such as
Caused by: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class
The fix for this issue was to compile and run tests against a 3rd party EE 6 api rather than the standard such as described on this tip.
Adam has shown that this is no longer the case in EE 7, and using the official
javaee-api Maven artifact will enable testing to be performed against the EE 7 api as expected.
Thanks Adam for the tip !
The Apache MyFaces team have announced the release of MyFaces Core 2.1.12 and 2.0.18, being the Apache implementations of the JSF 2.1 and 2.0 specifications respectively (JSR-314).
These releases are available directly from the project’s download site, or can be updated in Maven projects by updating the version for the “org.apache.myfaces.core” group.
Full release notes for version 2.1.12 can be found here, whereas the release note for 2.0.18 are available here.
For further information about MyFaces, check out the project’s web site where you can find a lot of information including quickstart guides, links to component libraries and more.
Are you a MyFaces user or do use Mojarra? Add a comment below and let us know your thoughts.
We’d like to announce the first development release of social4jsf, a lightweight JSF component library that allows developers to easily add social badges into their JSF applications.
social4jsf currently enables the following social badges to be generated within a JSF application:
- Linked In
- RSS feed
social4jsf is undergoing active development, so if there is a social badge that you would like adding, or any features you would like adding, please open a bug request.
Details on how to use social4jsf can be found on the project’s Wiki page.
social4jsf is released under an Apache 2 License, with the source code available for download at bitbucket.
Oracle is hosting a live webcast entitled “Introducing Java EE 7″ on Wednesday June 12th 2013 (12pm ET) and Thursday June 13th 2013 (2pm Sydney). Registration is required, however the event itself is free.
The introduction of Java EE 7 is a free online event where you can connect with Java users from all over the world as you learn about the power and capabilities of Java EE 7. Join us for presentations from Oracle technical leaders and Java users from both large and small enterprises, deep dives into the new JSRs, and scheduled chats with Java experts.
The webcast includes keynote addresses, on-demand breakout sessions featuring demonstrations of the new JSRs involved in EE7 and live chats with Java experts.
Check out the webcast registration page to register for the event. and to check the times in different timezones.
Are you excited about Java EE 7, and will you be registering for the webcast? Leave your thoughts in a comment to this post.