Caucho home of Resin DevOps friendly, cloud optimized, Java EE, Java Application Server that supports Servlets, JMS, JCache, Distributed Caching, and Java Monitoring

  • Home
  • Resin
  • Resin Web Server
  • Documentation
  • Forum
  • Projects
  • Company
  • Online Store
  • Download
  • web profile
  • health
  • cloud
  • resin pro
  • price list
  • candi
  • integration
  • press
  • newsletter
  • cache
  • queue




    • products

    • resin 4.0
    • resin 3.1
    • resin 3.0
    • quick links

    • getting started
    • changes


    •  
    • hessian
    • quercus (php)
    • resin topics

    • admin
    • clustering
    • database
    • deployment
    • logging
    • security
    • full web server
    • health
    • follow us!

    • Follow cauchoresin on Twitter



Resin application server - The Java EE Web Profile of Choice

JULY 2010 NEWS


Finishing up the CDI TCK and moving onto the JTA and EJB TCKs

Passing the CDI TCK is not only a huge milestone accomplishment for Caucho’s Web Profile implementation, it has also helped us refine and improve our internal processes for maintaining code quality. We were able to address more corner cases for issues such as lifecycle effects on interceptors, alternatives, specializing and producers. We also refactored our internal test suite for higher performance, leading to faster bug fixing cycles.

Although the road to full Java EE 6 Web Profile certification has been a long one, we will continue our meticulous and thorough testing as always. The next release will primarily focus on the JTA TCK, but will also include work to finish the EJB TCK.

Caucho to deliver four presentations at JavaOne 2010

We are excited about this year’s JavaOne conference in September. The topics to be presented by our Java Technology Outreach staff and Engineers, Reza Rahman and Emil Ong, include:

  • “Resin Java EE 6 Web Profile” - by Emil Ong and Reza Rahman
  • A Java EE 6 Panel “What Do We Do Now” - by Reza Rahman
  • “Testing Java EE 6 Applications” – by Reza Rahman
  • “Implementing CDI: Goals, Milestones, and Perspectives” – a BOF session with Reza Rahman and Emil Ong

These sessions are a great opportunity to get all the facts about Web Profile directly from the source and learn more about using CDI from engineers who created the CanDI implementation. We hope to see you at one or all of the talks!

Caucho announces new engineering positions

Caucho Technology is seeking a Java protocol and network software developer for our San Francisco engineering team. Influence the next generation of web applications by writing, designing and implementing new Internet protocols and Java application server internals. This is a unique opportunity to implement the code underneath a Java application server and goes far beyond simply using the application server to develop web sites.

As part of our team, you’ll have the opportunity to influence the new generation of Java web specifications, as well as pushing new Internet networking such as the real-time web: WebSockets, Hessian, and HMTP/XMPP. If you’ve written open source code and like to develop in an agile environment, you’ll fit right in. Please send your resume to hiring@caucho.com.

Details about Java Web Profile engineering position

NEW FEATURES


Resin CanDI for database integration

Those of us working with large projects find it not feasible to rewrite the entire project around a new technology like CDI, even though a redesigned project around CDI would be a better crafted solution. A more manageable, alternative solution is to add CDI incrementally and improve your project’s quality piece by piece with time.

If you’re using JDBC directly, the quickest benefit for CDI is replacing your current DataSource injection (or JNDI) with CDI. This takes advantage of the fact that Resin’s database configuration already integrates with the CDI injection.

So with a simple change to your code and configuration, your DataSource injection is now type-safe, validated at application startup time by Resin, and self-documents the source of the injection at the injection point by using annotations like @Inject @Account DataSource.

Read the full details on Resin CanDI for database integration

TECH TALK


CDI migration: module inside a framework

The greatest obstacle to migrating to CDI is in finding ways to change one piece of the large legacy code base to adapt the code to the developer’s needs. This is the more effective and manageable approach since rewriting an entire codebase is neither feasible nor is it efficient or recommended.

If you have an architectural design that is service-oriented, you can explore CDI with one service, and transition between the styles using JNDI to enter and exit the CDI environment. A module inside a framework also fits this pattern, such as an application within Wicket. The key to turn any non-CDI framework into a CDI compatible module is getting access to CDI’s programmatic interface BeanManager using JNDI. This interface gives your existing code access to the newer module written to expose CDI services and beans.

Read more about CDI migration and see code sample

UPCOMING EVENTS


Caucho to exhibit at JavaOne 2010

In addition to having four presentations at the conference, Caucho has confirmed to be at booth 5501. Senior staffs attending include Chief Architect Scott Ferguson, CEO Steve Montal, Chief Evangelist Emil Ong, VP of Business Development Tim Knapp, Director of Sales and Marketing Theresa Nguyen, and Senior Engineers Reza Rahman and Alex Rojkov. We are excited to present and share the advantages, benefits and technology architecture of Caucho products with the attending Java professionals. Please contact us to set up a meeting during these dates if you are based in San Francisco or are attending the conference.

Read more about JavaOne 2010

Reza Rahman to speak at Java2Days, the first Eastern European Java conference

The Java2Days conference is being held at the Expo Center in Sofia, Bulgaria from October 8-9. This new conference is focused on presenting the latest trends in Java and software application development with Java developer tools. For developers in the Eastern regions of Europe this will become the place to explore cutting edge Java technology and learn first hand from Java leaders around the world. Joining the panel of experts, Caucho Engineer Reza Rahman, will speak about the latest developments in Java as well as best practices.

Read more about Java2Days

Caucho engineer to speak at ØREDEV, one of Europe’s premier developer’s conference

The OREDEV developer conference is being held in Malmo, Sweden from November 8-12. Speakers are composed of developers, testers and IT leaders. From Java to .Net developers this conference theme – get real – will appeal to those who are keen to know the realities of today and be well informed with new IT information and effective practices.

A member of Java EE 6 and EJB 3.1 expert groups, Reza Rahman will present “Java EE 6 Overview.” Rahman will discuss the APIs that Java EE 6 added, updated, and dropped as well as its new lightweight profiles and introduction of standardized dependency injection. Another presentation by Rahman will cover JBoss Seam.

Read more about OREDEV

Resin 4.0 Administration Training Course for 2010

Caucho’s Resin Administration training course is designed for system administrators and system architects who are currently using or evaluating Resin and want to learn directly from members of the Caucho engineering team. The three day class, taught by a senior Caucho engineer, provides participants with a thorough understanding of Resin along with a detailed look at application servers and the latest developments in Java programming.

It’s time to expand your experience and expertise! Be the Resin “go to” person and increase your professional productivity by attending Caucho’s Resin Administration training course.

Resin administration training includes these valuable skills:

  • Installing Resin
  • Resin Directories
  • Resin Architecture and Configuration
  • Deploy, support, and troubleshoot Java applications on Resin
  • Java Web Applications
  • Database Connectivity
  • Resin Administration Application
  • Resin Security
  • Set up Resin for SSL
  • Performance Tuning
  • Improving Reliability
  • Setting up a Resin Cluster and load balancing
  • Discussions on Web Profile, CDI, Real-Time Web (RTW) and Cloud Support

Contact us with any questions you may have including group registration, on-site training or suggest different locations. We can be reached at sales@caucho.com or call (858) 456-0300. We look forward to seeing you at training.


Training Partner: Marakana | Register Now
Location and Time: SFSU Downtown Campus
835 Market Street, Room #621
San Francisco, CA 94103, USA
August 18-20, 2010
Register before June 30th and save $250!

Training Partner: The Skills Matter eXchange | Register Now
Location and Time: 116-120 Goswell Road
London, EC1V7DP, UK
Dec. 15-17, 2010

TIP OF THE MONTH


Configuring SSL in Resin to add security to your applications

The most common way of configuring SSL in Resin is through defining SSL for an HTTP port with standalone Resin. It is also possible to configure SSL on a third party web server such as Apache and use Resin purely as an application server. In both cases, Resin is aware that the application is being accessed over a secure socket and ServletRequest.isSecure() will automatically return true.

However, in some relatively infrequent cases, neither Resin nor an external web server will be configured with SSL. Instead SSL will be configured at the load-balancer level, which is usually done to take advantage of hardware acceleration. Because neither the web server nor Resin is aware of the secure socket layer, ServletRequest.isSecure() will return false.

In such cases, it is necessary to explicitly tell Resin that SSL is in use. There are two ways of accomplishing this. One way is to set secure=true for the <http> tag as shown below:

  <resin xmlns=”http://caucho.com/ns/resin”>
    <cluster>
      <server>
        <http port=”443″ secure=”true”>
          · · ·
        </http>
      </server>
    </cluster>
  </resin>

Another method is to set the manual secure flag at the web application level using the <resin:SetRequestSecure> tag as shown below:

  <web-app xmlns=”http://caucho.com/ns/resin”
      xmlns:resin=”urn:java:com.caucho.resin”>
    <resin:SetRequestSecure />
  </web-app>

Either method will ensure that the HTTP secure header is set and ServletRequest.isSecure() returns true even if Resin is not automatically aware of the secure socket channel. SSL protects your customers and your business. With Resin you can be sure that configuring SSL can be achieved at the application server or the load balancer level.

Resin 4.0 SSL Support
Integrating Resin with Apache
More details about the <http> tag
More details about the <resin:SetRequestSecure> tag

Resin Application Server
Quercus PHP on the JVM
JSR-299 Contexts and Dependency Injection

EVENTS AT A GLANCE

Resin 4.0.9 Release
July 29, 2010
San Diego JUG
August 17, 2010
Silicon Valley JUG
August 18, 2010
San Francisco Resin Training Class
August 18-20, 2010
JavaOne
September 19-23, 2010
Java2Days
October 8-9, 2010
ØREDEV
November 8-12, 2010
London Resin Training Class
December 15-17, 2010

Video presentation at San Diego Java User Group

Listen to Reza Rahman’s presentation on “A Quick Tour of Contexts and Dependency Injection for Java EE.”

Listen

RESOURCES

Resin AS - Java EE Web Profile white paper
A truly lightweight standards-based runtime that focuses on ease-of-use for web application development.
Resin RefCardz
The must have Resin cheat sheet for network administrators and developers.
Dependency Injection in Java EE 6 – Part 1
Introduction to Contexts and Dependency Injection for Java EE 6 (CDI) platform.
Dependency Injection in Java EE 6 – Part 2
CDI is the de-facto API for comprehensive next-generation type-safe dependency injection and robust context management for Java EE.
Dependency Injection in Java EE 6 – Part 3
CDI interceptors allow you to isolate cross-cutting concerns in a very concise, type-safe and intuitive way.
Dependency Injection in Java EE 6 – Part 4
The concept of CDI conversations in detail.

COMMUNITY

Facebook: Caucho Technology Resin Twitter page Resin Twitter page Caucho Chief Evangelist - Emil Ong Director of Sales & Marketing - Theresa Nguyen CAUCHO FORUMS

Contact Us
(858) 456-0300
sales@caucho.com
www.caucho.com

  • HOME |
  • CONTACT US |
  • DOCUMENTATION |
  • BLOG |
  • WIKI
Copyright (c) 1998-2012 Caucho Technology, Inc. All rights reserved.
caucho® , resin® and quercus® are registered trademarks of Caucho Technology, Inc.
resin® is a cloud optimized, java® application server that supports the java ee webprofile ®