Network simulation [closed] - java

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
We are doing a little project for a university course where we are to write a proxy server (in Java) that is able to filter internet traffic on the application layer.
To test it we would need a network simulator capable of running a JVM on its nodes. We will focus on HTTP traffic, so if the simulator has means to display a browser window as one endpoint would see it, that would be great.
Given these requirements, I thought it best if there would be software that allows a VM to hook up to its simulated network for choice hosts.
I found GSM3 to be a likely candidate, unfortunately we would need an IOS image for this and I do not have the means to acquire one legally.
So which simulator would you suggest?

Related

Interaction of processes in Java [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Suppose I have a Java application. I want to run another Java application from current (not a thread - a separate application) to calculate some function and them get the result to my first application to output it. How can I implement this?
What comes to mind:
RMI
shared memory
piping
calling 1st from 2nd
sending signal
socket programming (REST, SOAP, etc.)

Serial Converter in Java [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm searching for an industrial serial to USB converter.
I want to use it within my JAVA application to communicate with various devices.
Therefore the serial adapter has to provide a mode for RS232, RS422 and RS485.
Furthermore there should be a library which enables me to enable and disable the buffer in the serial adapter.
I tried the MOXA Uport 1150, which does a great job. The problem with this adapter is, that the serial mode (232,422,485) can't be changed within a Java-application and the buffer of the MOXA can't be enabled/disabled either.
I hope someone can help me!
Michael

best DataBase for a mobile java (J2ME) program [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
what is the best DataBase for a mobile java program ? J2ME
Used DB file outside of .jar file of program
best speed in running query
have more SQL propertise Like Curser, trigger and ...
needed low space (under 1 Mb)
Other things that is needed for run a high speed java program on every mobile device that have a little amount of space and low speed prossesor.
I fear this question has no real answer. There are loads of databases you could use and none of us know the problem nearly well enough to give you a solid answer on this issue. There are countless SQL and NoSQL options for storing data. Off the top of my head, I would recommend looking at mobile-nosql and perhaps this thread.

mass mail application java versus php [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to build a mass mail application to send around 20 lacs mail per day. I need some suggestions regarding the technology choice between php and java.
Please suggest.
Either would work.
Java is typically good for bigger projects because it is strongly typed and good for collaboration, but a mass mail application might be simple enough to make that unnecessary.
Most people think of it as easier to do web stuff in PHP, so if you want this to live in a website, you might want to use PHP.

how to simulate firwalls and proxies when developing code? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am writing code that often has to work in restricted environment. I sometimes code at home, where it works nicely and the moment I put it to test at work, McAfee or some other firewall blocks it.
Sometimes it is not possible to disable such protection.
I need a test suite for my home development environment where I can simulate all these restrictions without having to install all of them myself (for instance it is my experience that it is very hard/impossible to clean all traces of mcafee once you have installed it). I also need to simulate proxy servers.
I am writing code in Java if it helps.
[EDIT: so some Java library for this would be great]
You could use VMware (or VirtualBox) with different test-setups.
Try node.js. Also have a look at a sample proxy implementation

Categories

Resources