Spring

We have a Swing Applet client that needs to communicate with a Spring/hibernate application running on tomcat, the requirements are pretty standard , passing data objects through and forth, considering firewalls and performance.
the current implementation is soap with axis 1 (that has some limitations on transmitting hibernate objects and proxies,have to set null on proxies before sending them with axis).

what would you consider as a replacement to soap/axis? Rest? RMI? Spring remoting?

shalom 14/06/2009 - 21:31

 I have a Spring application that expose Rest API (implements with RestEasy) that deploy on JBoss, The client want to add security - implement by OAuth framework.

 

Does any one have experience with this type of configuration? 

itaip 01/04/2010 - 11:22

Today SpringSource announced that it is being acquired by VMware.<br>

Rod Johnson covers the details of the acquisition in his blog post.

http://www.springsource.org/node/1867

haim 11/08/2009 - 10:39

Just recently, I was writing a little Spring-enabled http sampler (my next post), and I needed to introduce some values (hostname, port, ping url) from an outside configuration file. As I automatically used PropertyPlaceholderConfigurer (better known as <context:property-placeholder location="classpath:..." />), I noticed that only part of my problem was solved: the values taken from the configuration file could ONLY be injected into beans declared in my applicationContext.xml! This means that if I wanted to use Spring annotations for declaring beans (which I do), I had to write an "Adapter Beans", "Configuration Bean" or whatever name you want to call it... The Configuration bean would be declared in the xml file, and I'll @Autowire it to whatever other bean that needs that configuration...

zvika 09/08/2009 - 08:08

Apparently, the @PostConstruct idiom in Spring / JSE isn't that well defined: If you have a service class annotated with @Transactional and a method defined as @PostConstruct tries to do transactional work (calling on DAOs, for instance), it will fail due to non existing transaction in context, sad as true.

Yeah, you could add some boolean init member and check it on every invocation of every service method, perhaps even via an interceptor, but why not use a new annotation that causes a method to get called after the object is fully initialized?

 

Well, high time to meet @PostInitialize. It'll do just that. Written by jbaruch, published on Spring forums and patched by yours truely:

 

http://forum.springsource.org/showthread.php?p=252616#post252616

zvika 29/07/2009 - 10:05

Spring 3 is in the air, and one of the exciting features it brings is REST "service abstraction" and making the development of 'RESTful' Web services easier.

These blogs show the key points of developing REST with Spring 3 (both client and server side):

http://blog.springsource.com/2009/03/27/rest-in-spring-3-resttemplate/

http://blog.springsource.com/2009/03/08/rest-in-spring-3-mvc/

 

yanai 06/07/2009 - 07:22

Between their DM/OSGi server releases, the Spring guys found the time to develop what seems like a promising platform for round-trip development configuration tool called Spring Roo. The tool allows adding various features to a project, including auto generation of configurations, code and tests for various technologies and APIs. In short, Roo allows for development-time configuration similar to Spring's runtime DI...

have a peek at this recently added a step-by-step tutorial:

http://blog.springsource.com/2009/05/27/roo-part-2/

 

zvika 11/06/2009 - 02:54

 

Does any one have any experience to put security(acegi) authentication over Spring's services and WebServices? code sample are more then welcome...

 

itaip 06/05/2009 - 14:50

Due to SpringSource announcement regarding the new and much debuted release policy, the community began stirring some serious mud up to the surface. Does the fact that Spring users will have to pay for enterprise subscription in order to get orderly released subversions mean that the sweetet library to come around Java development in the past few years have gone bad, possessed by evil moneymaking tyrans? Depends who you'd ask. Craig-Habuma-Walls thinks it's all legit business. Others think not, starting from minor criticism of the differentiation policy up to total betrail accusations. What does this mean regarding us users? How will it affect the adoption of Spring in the future?

zvika 26/09/2008 - 05:57
Syndicate content