Questions tagged [spring-remoting]

Spring Remoting exposes services over the web for Spring clients to consume as easily as though they were locally instantiated. Commonly, Spring Remoting is used to expose a published interface over HTTP and with data serialized between the client and server using Java serialization.

Spring features integration classes for remoting support using various technologies. The remoting support eases the development of remote-enabled services, implemented by your usual (Spring) POJOs. Currently, Spring supports the following remoting technologies:

  • Remote Method Invocation (RMI). Through the use of the RmiProxyFactoryBean and the RmiServiceExporter Spring supports both traditional RMI (with java.rmi.Remote interfaces and java.rmi.RemoteException) and transparent remoting via RMI invokers (with any Java interface).
  • Spring’s HTTP invoker. Spring provides a special remoting strategy which allows for Java serialization via HTTP, supporting any Java interface (just like the RMI invoker). The corresponding support classes are HttpInvokerProxyFactoryBean and HttpInvokerServiceExporter.
  • Hessian. By using Spring’s HessianProxyFactoryBean and the HessianServiceExporter you can transparently expose your services using the lightweight binary HTTP-based protocol provided by Caucho. (Note that Burlap, Caucho’s XML-based alternative to Hessian, is also supported but in a deprecated form).
  • JAX-WS. Spring provides remoting support for web services via JAX-WS
  • JMS. Remoting using JMS as the underlying protocol is supported via the JmsInvokerServiceExporter and JmsInvokerProxyFactoryBean classes.
  • AMQP. Remoting using AMQP as the underlying protocol is supported by the Spring AMQP project.

Useful links:

89 questions
0
votes
1 answer

spring remote chunking read issue

I have spring remote chunking working over JMS. my configurations are as below. Gateway wait time out = 5000ms, commit interval=10, the number records it can read per read is 1000. concurrent consumers and max concurrent consumers are 20 and 30…
user1224036
  • 988
  • 1
  • 15
  • 34
0
votes
1 answer

Apache Camel Spring remote not working

Given a server configuration:
Marcin
  • 163
  • 9
0
votes
0 answers

Exceptions during long remote execution via JMS based on Spring

I use Spring remoting via JMS like that: Client
Mikhail Kadysev
  • 103
  • 1
  • 10
0
votes
1 answer

can we call Spring Remoting web service JAVA From .Net

We have created Remoting web services using Spring Remoting support. We need to call those web services from .NET aplication. Is it possible to do this i.e. calling web services written in java from .NET?
Sidaoui Majdi
  • 399
  • 7
  • 26
0
votes
0 answers

dotNet Spring Remoting Communication

I'm a JAVA developer and i need some advice :), so, i have a JAVA server and i'm using Spring and services are exposed by Spring Remoting. Now i have to develop a DotNet app that will communicate with this server, so, i want to know if there is any…
Sidaoui Majdi
  • 399
  • 7
  • 26
0
votes
1 answer

Distributing business logic across different servers(like JBoss/Glassfish) using Spring and still under one transaction

I am willing to create an example(code) using Spring in which business logic to be distibuted across different servers like JBoss or Glassfish and still under one transaction? First of all is this possible in Spring. I know using EJB has this…
0
votes
1 answer

Jconsole randomly stops connecting

We have a jboss 7 instance running and hosting a web application. JMX remote has been turned on with username/password authentication and we are able to connect to it fine. Kindly not we are using Jboss/bin/jconsole.bat to connect. However at times…
Soumya
  • 1,054
  • 2
  • 16
  • 31
0
votes
2 answers

apache camel @Produce method with Object argument instead of String

I am using Camel's POJO producing e.g. { public interface MyListener { String sayHello(String name); } public class MyBean { @Produce(uri = "activemq:foo") protected MyListener producer; public void doSomething() { // lets…
Subodh Gupta
  • 193
  • 1
  • 3
  • 12
0
votes
1 answer

Remote entity relationship with Spring and JPA (hibernate)

I have 2 databases. The first one is the db of our company ERP and the second one the db of my app. I need to working in my app with synched customers table data from ERP database. Now I synch the tables every hour with quartz job. In this way I…
gipinani
  • 14,038
  • 12
  • 56
  • 85
0
votes
2 answers

Maintaining HTTP session between Hessian web service calls in Spring

I've set up my services as per Spring remoting documentation, but in the client applications I'd like to invoke service methods while reusing the same HTTP session as I'd like to store session related data on the server (instead of querying for that…
Vedran
  • 10,369
  • 5
  • 50
  • 57
0
votes
2 answers

Client side basic HTTP authentication with Hessian remoting in Spring

On the client side i have the following spring bean:
Vedran
  • 10,369
  • 5
  • 50
  • 57
0
votes
1 answer

Integrating SpringHttpInvoker with WSO2 ESB?

I have multiple Spring HttpInvoker services, and want to integrate them with WSO2 ESB. I am really new to ESB workd, so anyone can help me? S1: http://10.0.1.75:8080/integration/ws/switch S2: http://10.0.1.75:8080/beachon/ws/controller S3:…
Faisal Basra
  • 1,624
  • 4
  • 25
  • 40
-2
votes
1 answer

could not access HTTP invoker remote service

Im using Spring and im trying to access a HTTP invoker remote service and have specified the url in the spring-http-client-config.xml. But Im getting the below exception org.springframework.remoting.RemoteAccessException: Could not access HTTP…
vr3w3c9
  • 1,118
  • 8
  • 32
  • 57
1 2 3 4 5
6