Solved

Is This Possible?

Posted on 2004-09-10
1
282 Views
Last Modified: 2010-03-31
Ola,

I am thinking of using Java for this application I wrote in C#. But before I am going to do that I want to know if sertain things are possible in Java.

1st. Is it possible to write my application once and it runs anywhere where the java virtual machine is installed? ( My app acts as a web server )

2nd. If the first is true then how does this relate to services ( windows service in win2000/XP and something similar on other OS's )

3rd. Is remoting possible? The ability for one app to excecute methods from objects/classes inside another app.

4th. Is it possible to write somekind of TcpListner that intercepts incomming tcp requests on port 80 and if that request meets some specific requirement store it somewhere. If the request does NOT meet a specific requirement pass it back to the process that normally would handle the request ( IIS, Apache or do nothing if nothing else is listening on port 80 )

5th. Would all this be really cross platform?

Regards
0
Comment
Question by:DaFou
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 12033040
1. technically yes
2. unrelated really, there are products available for running java app as a service
3. Yes, see RMI
4. If you are talking about dealing with TCP/IP at a low level then no you'd need to use JNI and native code to achieve that
5. as long as you don't write any platform specific code yes
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
swing controls 2 35
running on tomcat not jboss eap 7.0 3 51
ArrayList Adding/settign data 3 35
Java import explained 4 46
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question