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.

Jetty 6 Maven Plugin now works with SiteMesh (and Equinox)

The 1.6 version of Equinox contains commented-out settings for Maven 2 Jetty Plugin. The reason these are commented-out is because this plugin didn't work with SiteMesh at the time. I checked again today, and it looks like they got it fixed. See Brett's post titled Developing with Jetty: Where Have You Been All My Life? to see why this plugin is so cool.

Using this plugin (or the JettyLauncher in Eclipse) makes it pretty damn easy to do develop Java webapps. There's no longer a deploy cycle, just save and refresh your browser. IMO, it's almost as good as using a scripting language or developing with HTML/CSS/JavaScript.

I'd love to see someone develop a TomcatLauncher, a WinstoneLauncher and Maven 2 Plugins for both. AppFuse works with Winstone 0.8.1 (a wicked fast servlet container with a good story behind its name).

In other Jetty news, Jan Bartel posted a nice tutorial today titled How To Use JOTM as the XA Transaction Manager in Jetty6.

Posted in Java at Mar 10 2006, 12:08:31 PM MST 4 Comments
Comments:

little bit off the topic, any version of Equinox that would work in Servlet 2.3. I'm using Orion, and it makes my Java webapps development super fast and easy.

Posted by Martin Stone on March 10, 2006 at 08:30 PM MST #

To change the web frameworks that use JSP, you'd have to change web.xml from 2.4 to 2.3 and then change all ${} references to <c:out value="${}"&;gt. The easier way might to use a 2.3 web.xml with Spring MVC - there's FreeMarker and Velocity versions available that don't use JSPs.

Posted by Matt Raible on March 10, 2006 at 08:51 PM MST #

Did you find a way to configure jndi resources like datasources and mail sessions under jetty? I know equinox is managing its own resources inside spring application contexts but this way of doing is not an option for some people. Big companies often split development and deployment accross different teams so that the first one should indicate in web.xml that a datasource is needed and the second team would configure it through application server specific console/descriptors (weblogic in my case).

Posted by Xavier Dury on March 11, 2006 at 10:48 PM MST #

Got it up and running so now happily type mvn jetty6:run and indeed its quick and seemless when i make my jsp pages. However just wondering how I attach the debugger (remote or otherwise). I wanted to debug one of my tags that doesnt work now I have moved things accross. Any ideas?

Posted by Ben Greenway on March 21, 2006 at 12:21 PM MST #

Post a Comment:
  • HTML Syntax: Allowed