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 4.1.x Tip - Contexts

Did you know that with Tomcat 4.1.x you can actually take an application's context out of the server.xml file and put it in a contextName.xml file in the $CATALINA_HOME/webapps directory? This makes it much easier to install and configure your webapps. Using this feature, you can easily setup Tomcat for your webapp using an Ant task. Here's the one I'm using for AppFuse:

<target name="setup-tomcat" if="tomcat.home"
    description="copies mysql jdbc driver and application's context to tomcat">
    <echo level="info">
        Copying MySQL JDBC Driver to ${tomcat.home}/common/lib
    </echo>
    <copy todir="${tomcat.home}/common/lib">
        <fileset dir="${hibernate.dir}/lib" includes="mm*.jar"/>
    </copy>
    
    <echo level="info">
        Copying ${webapp.name}.xml to ${tomcat.home}/webapps
    </echo>
    <copy todir="${tomcat.home}/webapps">
        <fileset dir="metadata/web" includes="${webapp.name}.xml"/>
    </copy>
</target>

Posted in Java at Jan 11 2003, 08:01:51 AM MST 1 Comment
Comments:

Thanks for the tip! That's really useful. I really, really hate the fact that you have to edit Tomcat's server.xml file every time you want to bind jndi resources or the somesuch. So much for drag and drop deployment!! - itdp

Posted by itdp on January 11, 2003 at 01:09 PM MST #

Post a Comment:
  • HTML Syntax: Allowed