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.

Tomcat 5.0.7 Alpha

Since java.blogs has already seen an announcement for Tomcat 5.0.7, there's no reason for me to do it as well. But, there is a very cool enhancement added to this release. From the changelog:

~ Allow putting a /META-INF/context.xml inside any WAR file

This allows much easier deployment IMO. Now you only need to deploy/upload one file, instead of the WAR file and a config (context.xml) file. However, this isn't part of the J2EE 1.4 spec, and other appservers have their own means of configuring - so this is not a portable solution. It would be very cool if there was a common way of doing this for Resin, Orion and Tomcat. I don't know how it would work, but maybe something like META-INF/tomcat-config.xml, META-INF/orion-config.xml, etc.

Posted in Java at Aug 11 2003, 09:11:12 AM MDT 6 Comments
Comments:

You mean, like Orion's WEB-INF/orion-web.xml?

Posted by Unknown on August 11, 2003 at 10:20 AM MDT #

Tomcat 5 is starting to look good. If only I could get a JSP to compile... I keep getting a org.apache.jasper.JasperException: Unable to compile class for JSP and java.lang.IllegalArgumentException: -1 on any JSP that I try. The examples all run fine, but of course those are all pre-compiled. Scratching my head on this one...

Posted by John Cavacas on August 11, 2003 at 01:35 PM MDT #

I've had no problems deploying AppFuse on Tomcat 5.0.4+ - my JSPs are not pre-compiled and all seems to work fine. Is it possible that 5.x is a little more strict and your JSPs have errors in them? I'd try contacting the tomcat-user mailing list to see if your errors have been seen before.

Posted by Matt Raible on August 11, 2003 at 01:46 PM MDT #

Thanks Matt. Yep, i have been. I've also sent a post to the mailing list itself. I've also tried struts-blank.war (by dropping it in /webapps/) and the same error occours. Funny enough, creating a new JSP in the existing jsp-examples app, seems to work just fine. I'll keep diggin :)

Posted by John Cavacas on August 11, 2003 at 01:56 PM MDT #

I'm in two minds about this after working with JBoss and other containers. If being able to put a "context.xml" helps me config a common datasource, this is cool. But what happens when we start configuring other things? Besides, if it can belong in a specific Webapp's context.xml, why can't it just be in the web.xml? Because it doesn't belong there.

Posted by Pratik Patel on August 11, 2003 at 02:40 PM MDT #

See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22277, workaround: set "suppressSmap" to "true" in "conf/web.xml".

Posted by Libor Pleva on August 13, 2003 at 01:57 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed