Aftab Hussain

Greenhorn
+ Follow
since Sep 23, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Aftab Hussain

Please help me!!!

I'm having problems using a ServerSocket class to talk with another machine on a port across a firewall. I have managed to successfully talk to this machine using IO streams with the Socket class. But I fail to get a connection with the ServerSocket class. Sockets are fine to handle request and response messages, but I need something like a ServerSocket to continually listen for specific request notifications made from this machine.

Any suggestions?

Thanks

Aftab
Hi

I would like some advice on a solution architecture I will be using. This is a brief description of the physical architecture:

I have a .net client device using compact framework on Win CE 4.2 which will talk to a websphere servlet to call a stateless service. The service call will be made over an RF network with good bandwidth. I'm planning on passing complex types i.e. DTOs - these are just lightweight objects(POJOs) which represent my domain model. I want to avoid using simple types as this would
mean further rework to add additional parameters to the service calls if the business needs change. I have the option to use JAX-RPC, SOAP directly or with a web services layer on top. I haven't completely decided this.

The client will a UI navigation flow as the user moves through the use case, but it will handle simple input validation and write and read data from xml objects on each service call.

The server will be made up of the following layers:

service - session facade class exposing stateless service interface.

business controller - handles any reusable business processing on the DTOs coming from the client or datasource.

domain managers - normally handles data access from database (CRUD stuff). In my case I will be calling services on an external system via sockets. Unfortunately, data is returned in a native text format, so I decided to handle this using XML technology. So domain manager will call data access layer to transform DTOs to xml objects. I will use custom xslt scripts to extract data from xml objects to generate native requests to the external system and vice versa on return.

The transactions takes place inside the external system. I check the response messages for success, otherwise throw any exceptions reported in the response.

Please give me your thoughts and suggestions on this solution architecture and fill in the blanks as requested.

Many Thanks
Aftab
Please help!!

I have a .net client device using compact framework on Win CE 4.2 which will talk to a websphere servlet to call a stateless service. The service call will be made over an RF network with good bandwidth. I'm planning on passing complex types i.e. DTOs - these are just lightweight objects(POJOs) which represent my domain model. I want to avoid using simple types as this would
mean further rework to add additional parameters to the service calls if the business needs change.

My understanding is web services map parameters to the lowest common denominator to easily map types from one language to another (in my case a C# client talking to a Java server). With all this in my mind what solution would be best for me??? I think I have the following options:

1. Web services running over SOAP or JAX-RPC. Maybe Apache Axis here.
2. Just use SOAP or JAX-RPC directly. What open source solutions are availabe here?

Thanks
Aftab
17 years ago