remoting

What are the pros and cons of Web Services and RMI in a Java-only environment?

When developing distributed applications, all written in Java by the same company, would you choose Web Services or RMI? What are the pros and cons in terms of performance, loose coupling, ease of use, ...? Would anyone choose WS? Can you build a service-oriented architecture with RMI? ...

Checking IP Port State Remotely

I found an article on getting active tcp/udp connections on a machine. http://www.codeproject.com/KB/IP/iphlpapi.aspx My issue however is I need to be able to determine active connections remotely - to see if a particular port is running or listening without tampering with the machine. Is this possible? Doesn't seem like it natively,...

J2EE and Grails: Communication with WebServices? Which framework?

Hy, I'm developing a Grails app which has to communicate with an existing J2EE application (built with EJB2). Both the "legacy" app and the new Grails app will offer services and consume them. For intercompatibility reasons, I'm thinking of communicating using WebServices. Now I'm wondering which frameworks I should use on both sides. ...

suggestion on remoting (rpc, rmi) for jse client-server app?

Hi. I'm absolutely in love with the way GWT does rpc. Is there anything similar for JSE you have experience with that: a) is not spring b) doesn't require a jee/servlet container to run the server side c) is not rmi that comes with jse TIA. ...

NT AUTHORITY\NETWORK SERVICE issue when deploying on remote server SQL 2005

I am getting a very non specific error when trying to connect to SQL server on remote server. I feel like I have made all the correct settings, allow TCP/IP, restarted the service, added rights to NT AUTHORITY\NETWORK SERVICE and other related users for the database. I can get to the aspx page, but as soon as I hit submit on the login I ...

Simple Java web services

Does anyone know of a really simple way of publishing Java methods as web services? I don't really want the overhead of using Tomcat or Jetty or any of the other container frameworks. Scenario: I've got a set of Java methods in a service type application that I want to access from other machines on the local LAN. ...

How would you notifiy clients about changed data on the server using .Net 2.0?

Imagine a WinForms client app that displays fairly complex calculated data fetched from a server app with .Net Remoting over a HTTPChannel. Since the client app might be running for a whole workday, I need a method to notify the client that new data is available so the user is able to start a reload of the data when he needs to. Currentl...

C# Remoting - How to turn off CustomErrors

I getting the following error when I try to connect to my server app using remoting: A problem seems to have occured whilst connecting to the remote server: Server encountered an internal error. For more information, turn off customErrors in the server's .config file. This is the code on my server app: TcpChannel tcpChannel = ne...

What is the best way for a client app to find a server on a local network in C#?

The client connects to the server using GenuineChannels (we are considering switching to DotNetRemoting). What I mean by find is obtain the IP and port number of a server to connect to. It seems like a brute-force approach would be try every IP on the network try the active ports (not even sure if that's possible) but there must be a b...

Has anyone used "DotNetRemoting" (the third-party product, not .NET Remoting) ?

DotNetRemoting They claim to have all the power of WCF but a lot simpler to implement and use. Does anyone here have any experience with using their product, and if so, have there been any problems with it? To clarify, this is a company's product called DotNetRemoting, not doing Remoting in .NET ...

howto add a transparent client side proxy to a remote object

I got a little problem I can't figure out. I have a server side MarshalByRefObject that I'm trying to wrap a transparent proxy around on the client side. Here's the setup: public class ClientProgram { public static void Main( string[] args ) { ITest test = (ITest)Activator.GetObject( typeof( ITest ), "http://127.0.0.1:8765/T...

Generating ActionScript value objects from middle-tier Java classes

In a Flex / Java app stack using remoting (via BlazeDS), classes to hold data passed back and forth between client and server need to be maintained in both the client (in ActionScript) and server (in Java). I want a way to maintain theses classes in Java only, and have the corresponding ActionScript value object classes generated by the...

Is Flash Remoting Services dead?

I have a potential client that build something with Flash Remoting Services. It looks there was some sort of server product offered back in 2002-2003, but I've been unable to see if it did anything so complex that it could not be replaced with a simple webservice. Does any one know what happened to this product? ...

How to "bind" services to specific channels (tcp, http, ipc) in a .NET Remoting server?

I have a complex .NET Remoting server app that provides a couple of services. Clients can currently use tcp and http channels to connect to the server. Now I need to implement some new administration services, but I want to restrict their availability to the local machine, i.e. I want to create an administration tool that can use these ...

Flex - Remoting vs HTTPService - when to use what?

I have been using Flex for a while and have not used remoting as of yet. Currently my apps use a webservice that generates xml that I use for databinding. What would be the benefit to using remoting over an xml webservice in this use case? Is there a general guideline when I should choose remoting over webservices? Why would I want t...

Enterprise service bus and Message Brokers

Ok guys its time to be stupid, I want to start looking at WCF but to be honest before I do I would like to understand more about SOA in general. I dont really understand the concept of a "Enterprise service bus", and am not sure whether it is a pattern/methodology or piece of software. Additionally, the sam can be said of a "Message Br...

Find the ip address of a remote object in .net remoting

I have a client-server application that uses .net remoting. The clients are in a LAN and i do not know their location in advance. Sometimes we do file transfers and as an optimization I want to determine if a client is in fact on the same machine as the server (it is quite possible). In this case, I only need to do a File.Copy. Let's ...

How do you determine what to put in .rhosts file in an VAX open vms when accessing from CYGWIN

How do you determine what to put in .rhosts file in an VAX openvms system when trying to remotely access the server using a remote shell from Cygwin on windows XP ? .rlogin and rsh are the only methods that can be used to access the VAX server and it must be using Cygwin to remote in to the VAX server. SSH is not an option. When the VAX ...

How to debug .NET remoting calls?

I have an app with the following basic architecture: A windows service (Service) that registers a .NET type (RemoteObject) for remote access (.NET Remoting). RemoteObject creates non-ThreadPool threads that use the ThreadPool to do IO processing. The size of the ThreadPool must be restricted to a limit for a particular reason. A GUI ap...

Activator.GetObject - MarshalByRefObject

In .Net Activator.GetObject(Type type, string url, object data) returns a proxy to the object. I guess that proxy inherits from MarshalByRefObject and can be sent across AppDomains. Am I right? In my app, I am creating an object in appdomain A and using it appdomain B. The object's members are proxyobjects created using Activator.GetObj...