VRaptor2 on Google App Engine

8 Apr

With all the recent excitement about Google supporting Java for the App Engine platform, I’m proud to say that VRaptor2 just works, out-of-the-box!

All you have to do is copy the required jars that come in the vraptor distribution, configure the VRaptorServlet (or VRaptorFilter) in web.xml and enable session support in the appengine-web.xml:

<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
	<application>...</application>
	<version>1</version>
	<sessions-enabled>true</sessions-enabled>

	<!-- ... -->
</appengine-web-app>

Being able to use my favorite Java Web MVC framework, to develop and deploy applications to Google’s cloud infrastructure, is really nice.

Advertisement

3 Responses to “VRaptor2 on Google App Engine”

  1. Emerson Macedo April 8, 2009 at 6:44 pm #

    Nice. JRuby on Rails on App Engine is cool too.

  2. Hudson Leite July 28, 2009 at 4:34 pm #

    What is the version that you tried? I tried 2.6.0, and not done.

    • Cinderella June 3, 2011 at 11:17 am #

      Stands back from the keabyord in amazement! Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

Please log in to WordPress.com to post a comment to your blog.

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.