Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Resin now Open Source?

I noticed on the release notes for Resin 3.0.9 (released last Saturday) that they now have an open source (GPL) version.

Resin Open Source (GPL) - Contains all functional components of Resin, including EJB, but excludes performance and clustering capabilities.

Excludes performance capabilities? What does that mean - is it slow on purpose? ;-)

I was planning on looking at AppFuse on Resin again tonight and hopefully figure out a way to make it easy to setup/test/deploy on Resin instead of Tomcat. Since AppFuse currently works fine on Resin, this shouldn't be too hard. The hard part is going to be finding a non-obtrusive way to setup Resin.

With Tomcat, I can copy a couple JARs to $CATALINA_HOME/common/lib and an appfuse.xml file to $CATALINA_HOME/conf/Catalina/localhost and the app is setup and ready to go. Better yet, I can use Tomcat's Ant tasks to deploy a WAR with an embedded context.xml file and it'll get copied to the appropriate location.

Is there a similar system that Resin allows? I know I can do the copy-JAR thing. However, the last time I checked, you had to manually edit the resin.conf file to import a <web-app> definition.

Posted in Java at Oct 05 2004, 04:03:36 PM MDT 7 Comments
Comments:

Is Resin GPL slow on purpose? Now <em>that</em>'s the question of the day. :)

Posted by Kevin Williams on October 05, 2004 at 04:31 PM MDT #

I'll bet they've got some caching stuff they want to keep proprietary. I love resin, so I'll try out both and see how different they are.

Posted by gerryg on October 06, 2004 at 11:36 AM MDT #

It's been awhile since i really played with Resin (besides just using it) but you should be able to just drop your war (or expand it) into ${resin-install}/webapps and have it just work. The default resin.conf allows this, so if you've changed the conf at all this may no longer work.

Posted by Lance Lavandowska on October 06, 2004 at 02:16 PM MDT #

Dropping a WAR in webapps works - just like it does with Tomcat. However, if you want to take advantage of the container's services - i.e. connection pool or form-based authentication - you have to have a file to configure the container. From the mailing list, I discovered you can use a resin-web.xml in your WAR's WEB-INF directory. However, I can seem to figure out the "document-directory" attribute. If I configure my app in resin.conf, the attribute's value is "webapps/appfuse". If I use resin-web.xml, it seems that only a hard-coded (c:/tools/resin...) path works. I tried setting it to ".." - but no dice.

Posted by Matt Raible on October 06, 2004 at 02:22 PM MDT #

IIRC, Resin does some JNI stuff to achieve its impressive performance; it probably left the JNI pieces out of the GPL version.

Posted by Ben Galbaith on October 07, 2004 at 10:43 AM MDT #

Below is why I love Resin and Caucho - I've never had them not reply to an email, and they always have good answers.

----------------------------------------------------------------------
Gerry,

Thanks for the feedback. You are right, we need something in the
Features section describing the differences.

The professional version adds the following:

- compiled C code and use of JNI for performance benefits in areas like socket connections, file system access, etc.

- cluster and load balancing support

- distribuetd sessions

- robust server monitoring, including automatic detection and restart of locked or stalled servers


Take care,

-- Sam

========================
Sam Heisz
Software Engineer
Caucho Technology, Inc.
P.O. Box 9001
La Jolla, CA 92038 USA
Tel. (858) 456-0300
FAX (858) 777-3636
www.caucho.com

Posted by gerryg on October 07, 2004 at 10:58 AM MDT #

Egad, Resin is slow as molasses!

Posted by Tim O'Brien on July 02, 2005 at 10:26 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed