MyThinkPond

On Java, Python, Groovy, Grails, Spring, Node.js, Linux, Arduino, ARM, Embedded Devices & Web

Posts Tagged ‘Spring’

GWT and Spring Integration - java.net.InetAddress is a restricted class

Posted by Venkatt Guhesan on September 12, 2010

When trying to integrate both Spring and GWT, one might encounter the following error in the Spring Eclipse IDE:

“java.net.InetAddress is a restricted class”. The problem happens when you try to use Spring configuration for your database. In my case, I was using Spring to update data back to a H2 database.

Well, here’s one way to deal with this issue. Disable the “Google App Engine”. Yes, based on my research, if you’re using GWT, you can disable Google App Engine and still continue your development with GWT.

You can right click on your project and go into properties. Under [Google] -> [App Engine], you can “uncheck” - use Google App Engine. And rebuild the application and resume your debugging.

This allows you to use Spring beans to persist your data in a database.

Cheers.

Posted in GWT, Java | Tagged: , , | 1 Comment »

Spring Framework Samples and Reference Implementations online in svn

Posted by Venkatt Guhesan on April 19, 2010

Sometimes it’s good to look at the svn repository for the reference sample that Spring Framework provides.

Here’s a quick link for that URL:

https://src.springframework.org/svn/spring-samples/

You can traverse through it via a HTTP(s) browser or you can download the latest samples via tools like TortiseSVN.

Here is a list of some of the projects samples that are available today:

spring-samples - Revision 431: /

* configuration-basic/
* jpetstore/
* mvc-ajax/
* mvc-basic/
* petcare/
* petclinic/
* petclinic-groovy/
* spring-travel/
* task-basic/
* templates/
* tutorials/

Hopefully this article will be beneficial for someone who is trying to get familiar with Spring Framework.

Cheers.

Posted in Java, Programming, Spring, Spring Framework | Tagged: , , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 160 other followers