[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Is This Possible?

Posted on 2004-09-10
1
Medium Priority
?
286 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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

656 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