Home The News

Recommended Reading

Related Items

W3Counter

The News
Book Review: GlassFish Security by Masoud Kalali PDF Print E-mail
Written by Administrator   
Friday, 02 July 2010 07:13

GlassFish Security by Masoud Kalali provides an in-depth look at Java EE security issues.  The book is broken down into 3 parts:

1.       The Java EE security model

2.       Securing GlassFish and its environment

3.       Securing Java EE applications using OpenDS and Single-Sign-On (SSO).

The first section of the book describes the Java EE security model.  This section starts by assuming the reader has none or very little knowledge of Java EE security and describes the structure of a Java EE application and how security relates to it.  Basic terms such as User, Role, Realm, Principal and Credential are described together with examples of each.  Authentication and authorization are described and shown how these concepts are applied to Java EE applications as both XML configuration and annotations. 

When securing an application for use on GlassFish, several different security realms are available for use.  The book covers the GlassFish File, JDBC, LDAP and Certificate realms showing how each of these can be configured (using OpenDS in the case of the LDAP realm).

The first section of the book ends with a sample application summing up all that has been described so far.  The author shows how to develop and secure a sample Java EE application securing both the presentation and business tiers.  The complete code for this application is available online.  This is a good chapter that brings together all that the reader has learned so far into a simple, yet complete secure application.

Typically developers learn to secure their applications, but can sometimes forget to secure the application server and its environment.  The next section of the book shows how to secure the GlassFish environment and the application server itself.  Here, the author shows how to install and secure GlassFish on the OpenSolaris operating system.  Although the majority of the details here are specific to OpenSolaris, the book also goes into details of securing the Java Runtime with different policies which will be appropriate to all operating systems.  Even if you’re not deploying to OpenSolaris, this section gives a good overview of the problems faced when securing the environment.

After securing the GlassFish environment, the author continues to describe how to secure the application server itself.  In a similar fashion to the rest of this section, security is discussed and shown how to be implemented.  There is no source code provided here, instead details of how to use the JMX and client tools to secure the server.

The final section of the book introduces OpenDS, the open source Directory Server and OpenSSO, the open source Single-Sign-On solution.  To me, this is the most interesting section of the book and covers almost half of the book’s content.  If you’re not familiar with OpenDS or OpenSSO, or even directory services or single-sign-on, then this section probably warrants the price of the book by itself.  As with the rest of the book, the author provides a description of the security features being discussed (e.g. implementing SSO on web apps or web services) and provides illustrations and source code explaining the subject in detail.

If you are developing secure Java EE applications then this book is highly recommended.  The book is written for “application designers, developers, and administrators who work with GlassFish and are keen to understand Java EE and GlassFish security.”

Further details of the book can be found here.

GlassFish Security by Masoud Kalali. ISBN: 978-1-847199-38-6

 

Thanks to Sean at Packt for providing me with a copy of this book for review.

 
The Sun Shines on another Eclipse Release PDF Print E-mail
Written by David Salter   
Thursday, 24 June 2010 07:17

Yesterday saw the release of Eclipse 3.6 - Helios by the Eclipse Foundation.

Each year in June, Eclipse releases a simultaneous release of a large number of projects - this year 39 projects are part of the release which includes more than 33 million lines of code.

To celebrate the release of Helios, members of the Eclipse community have been blogging about the new features in the release and revewing how the software works.

Today, June 24th, the Eclipse Foundation is presenting the Helios in Action Virtual Conference.

"On June 24, the Eclipse Foundation is presenting Helios In Action - a virtual conference where you can interact with project leads involved in the release and see demos of the new features. The annual simultaneous release has now grown to 39 projects with over 33 million lines of code, contributed by committers around the world. With such a large global community, Eclipse wants to bring Helios to you!"

The Virtual conference is free (registration is required), and includes sessions on:

  • Linux Tools
  • Eclipse Runtime
  • Eclipse Git Team Provider
  • JavaScript Development Tools
  • Java EE Standards Support From Web Tools
  • Marketplace Client and p2 Discovery Connector
  • Modelling
  • EMF On The Web
  • Mylin
  • 10 Reasons to Install Helios

Eclipse Helios can be downloaded from here.

 
RichFaces 4.0.0 Alpha 2 Released PDF Print E-mail
Written by David Salter   
Thursday, 17 June 2010 06:33

Earlier this week, Jay Balunas announced the release of JBoss RichFaces 4.0.0 Alpha 2.  RichFaces is a JSF component library that provides over 100 AJAX aware components for JSF developers.  RichFaces allows for easy skinning of components and development of components via its Component Development Kit (CDK).

This new release contains many new components and features, the highlights of which are:

  • Redesigned and improved Component Development Kit
  • Ajax core components set almost completely migrated.
  • Ajax request smart Queuing mechanism implemented
  • Rich Data Iteration components created
  • Skinning including standard control skinning feature was migrated.

RichFaces 4.0.0 Alpha 2 can be downloaded from the project's download page.  The next release (Milestone 1) is expected around the middle of July.

 
NetBeans 6.9 Is Released PDF Print E-mail
Written by David Salter   
Tuesday, 15 June 2010 21:13

NetBeans 6.9 has today been released and is available to download from http://netbeans.org/downloads/index.html.

Six different NetBeans bundles are available catering for different types of developers.  These bundles are available for Java SE, Java FX, Java, Ruby, C/C++ and PHP developers.  Each of these download bundles contains different "packs" of NetBeans functionality (for example Java ME is supported in the Java bundle), however different packs, or functionality, can be downloaded and enabled via the IDE's plugin system.

NetBeans 6.9 includes new functionality not present in previous versions. As is common with NetBeans releases, this contains support for some of the newer APIs and toolkit available to the Java developer. The NetBeans team have provided an overview of NetBeans 6.9 screencast and describe the main new features as:

"NetBeans IDE 6.9 introduces the JavaFX Composer, a visual layout tool for building JavaFX GUI applications. Additional highlights include OSGi interoperability for NetBeans Platform applications and support for developing OSGi bundles with Maven; support for JavaFX SDK 1.3, PHP Zend framework, and Ruby on Rails 3.0; as well as improvements to the Java Editor, Java Debugger, and many more."

Many more screencasts are available showing some of the new functionality in NetBeans 6.9 such as using the JavaFX composer or how NetBeans helps PHP and Ruby developers.

NetBeans 6.9 has undergone a large amount of community testing and has recently been accepted by the community as stable for release.  Congratulations to the NetBeans team and the members of the community that helped test the product to ensure it is stable for release.

 
New Apache MyFaces Releases PDF Print E-mail
Written by Administrator   
Sunday, 13 June 2010 07:50

The Apache MyFaces team has announced 2 new MyFaces Core releases.

MyFaces Core 1.2.9 is a JSF 1.2 implementation as specified by JSR 252

MyFaces Core 1.1.8 is a JSF 1.1 implementation as specified by JSR 127

Both of these releases have passed Sun's relevant TCK and can be downloaded from http://myfaces.apache.org/download.html where the more recent MyFaces Core 2.0.0 can also be downloaded.

 

 
«StartPrev123456789NextEnd»

Page 1 of 9
Copyright © 2010 Develop In Java. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.
 

Advertisement

ClustrMaps

Locations of visitors to this page