HELP REG Java NEtwork Simulator

HI,
This is Ashwin from India.
I need some tutorials and examples regarding jns...kindly help me by sending their links...

Ashwintk wrote:
I HAV DOWNLOADED JNS.....
BT DON'T KNOW WER 2 START.....HOW 2 START....
SO PLS HELP!!!!!You really expect free support on every single product ever written in Java? Good luck with that

Similar Messages

  • JNS - Java Network Simulator

    Hi all I am working on my final year Project " Designing Security Protocole for sensor network" I have designed an algorithm which identify and detect a compromised node in the sensor network.. to test my algorithm and develope I searched a simulator called JNS I have down loaded it on my machine and trying to figure out to make it work or do a default test on it... can any1 help me this please!!!!!!! I would be warmly welcome your ideas and help I am very thankful in advance....

    DrClap wrote:
    So this is your final year project, and you've just started with Java programming? Okay. The message you sort of mentioned there usually means your classpath isn't set up correctly when you compiled the code.
    In future it would help if you provided details. The exact message, not a bad copy of it. And the code that the message is referring to.
    Although I have to say, if you haven't ever programmed in Java before then trying to work with somebody else's code which you downloaded is going to be challenging. Good thing you have a whole year to work on it. But you might consider waiting until you have a little more experience with Java before diving right into this project. Good luck.Not to mention a network simulator is very advanced for a (not even) junior level programmer.
    Edited by: wpafbuser1 on Feb 5, 2008 1:17 PM

  • Urgent Help in Java Networking

    Dear Sir,
    I've written an encryption algorithm.My problem is i 've to encrypt
    a file using the algorithm above at one computer.The receiver in another computer should get this file and decrypt it at another
    computer.I have written both encryption and decryption algorithms
    but i dont know Java networking API.Could you give me detailed step by
    step networking code with documentation which connects both encryption and decryption algorithms at different computers.GUI Support in networking api is appreciated .Please sen the reply to [email protected]
    Thanks in advance

    Have you looked at JSSE (Java Secure Socket Extensions)?
    Using SSL is perhaps the best solution to your problem.
    You can find a lot of info in:
    Java Security - 2nd Ed, by Scott Oaks and and in
    Java Networking (or something like) 2nd Ed, by E. R. Harold.

  • Help in java traffic simulation

    traffic simulation is my project, but i don't know any thing the mathematical
    model i have to use..gratful if any recommend spicific model.
    also i need any refrence to any tutorials or books related to using java in traffic simulation.

    Hi Aisha_fahd
    First thing dont worry about Mathematics, not needed for this.This requires a fair amount of work, here's a start:
    Identifiy basic objects needed i.e:
    Class Car
    (feilds)
    carNumber
    arrivalTime
    waitingTime
    transactionTime
    basic constructor, set and get methods for above.
    Class Queue
    (Implement your own or see Java Collections)
    Class WaitingQueue
    (Sub class for Queue)
    needed to update the Class Queue when a car has been
    served.
    Class TrafficController
    (A server)
    Feilds
    currentCar
    status
    transactionTime
    Heres an idea of the type of methods needed.
    Methods()
    +isFree() :bool
    +setBusy() :void
    +setFree() :void
    +setTransactionTime():void
    +getRemainingTransTime(): int
    +decreaseTransTime(): void
    +setCurrentCar(Car):void
    +getCurrentCarNum():int
    +getCurrentCarArrivalTime():int
    +getCurrentCarWaitingTime():int
    +getCurrentCarTransactionTime():int
    Hope this helps you is some way.

  • How does the Java Card simulator work? (Using NetBeans)

    Hi,
    I'm using NetBeans and am trying to simulate:
    Someone powering up the card, saving a value, and powering down... And then they power it up again, get the value, and power down.
    When I edit my APDU script to do the second part, the value I entered the first time is never stored, which probably means that when I 'run' my code, my application is loaded and everything is initialized again.
    How do I edit NetBeans to not install the application every time I hit 'run'? And not to initialize the values, so that when i power it up again, I can get a value stored in a previous running of a script?
    When I use powerup, powerdown and then powerup again, NetBeans doesn't powerup the simulator the second time. So understanding the Java Card Simulator would also help... where it is, how it runs, what options it runs with, etc.

    Hi Shane,
    I have not read anywhere else that the JC3 cards are not available, thank you so much for that tip! I am not doing it for research, but I am working on this alone and will have to deploy a card later on. I will be getting all the right versions now.
    I'll ask the question then, using just the JCDK:
    If I want to save a value on the card, and then need it at a later time, how do I go about it. Do I do the following?
    (1) Install the application on the card. (I know how to do this)
    (2) Run the simulator using -o "eeprom data filename"
    (3) Save the value using the APDU calls and Java code on the card + close connection.
    Code:
    public class MyApp extends Applet {
        private static byte[] data = {0x00, 0x00, 0x00};
        // Install method, method to register, process method that can call saveData or recallData, etc
        public static void saveData()
           // code to change data
           data = {0x01, 0x01, 0x01};
        public static byte[] recallData()
           // code to return data
           return data;
    }(4) Run the simulator using -i "eeprom data filename". get the value using recallData().
    Will selecting the app not make data initialize to {0x00, 0x00, 0x00} again?
    If I know this is the correct way of going about it, then I can work towards it getting done.
    From other examples I can see that this is probably the way it should work, but my data array always returns as {0x00, 0x00, 0x00}.

  • Java for Simulation

    I wanted to seek people's advice on using Java for simulation of physical/numerical processes, for example (but not only), Monte Carlo simulations. Are there any distinct advantages/disadvantages in using Java over, say, Fortran, C++ or other, more common (indeed, more "acceptable") languages used for simulation?
    I am not asking in regard to any specific problem, but in general. There must be people here who have a lot of experience in this area, and can offer some advice (eg. "Learn another language"), or point out things that I would never think of.
    (I did a brief search for this, but only found questions relating to specific aspects of specific projects.)
    Thanks :)

    These comments are really good, and just what I was after :)
    The obvious answer is that the order of raw speed will be, from fastest to slowest, FORTRAN, C, C++, Java. You already know this. [...]
    The advantage [...] is object-oriented abstraction
    This is probably at the core of it. I'd read that for most applications, speed is not too much of issue. I would probably comprimise speed if it meant I spent less time debugging and making sure it actually worked like it should (the worst bugs are the non-fatal ones). But for all I know that could change significantly for simulations. I guess there's also native compilers if speed is really slowing things down. (Do they help? Do people use them?)
    The Colt distribution covers some areas good for sumulations not in the "standard" Java API's...
    I use it a lot, it's very nice :)
    What about using a mix of Java and other libraries, like Fortran or MatLab, for example? Is this widely done, or is it better to keep it all in one language?
    As for the built in memory management, I hadn't actually thought about that.
    I've picked up the impression somewhere along the line (I'm technically a student, see) that Java isn't a simulation language - to stick with Fortran, C or C++. I did deliberately post in a Java forum, not so much to get bias the other way, but to get a wider view. And also because I really like the language.
    Incidentally, would anyone recommend any books on the subject?

  • Java Networking (AesSoft Ocean2002)

    Hi my name is Donald. I am working on a java based program called Ocean2002. This software will be an entertainment software with games Instant Messanger and more.. I am a beginner with java networking so i need some help with the instent messanger. If anybody has any ideas how can i start an instant messanger based on java please help.
    Thank You!!!

    There are two options, Peer to Perr and client server.
    With a P2P instant messenger, each user will need to know the IP address of another user to contact them. That isn't exactly pretty.
    The client/server approach can be done in 2 ways. The first method is that when a user signs in, the messenger sends the user's IP address up to a server and also asks the server if anyone on the users 'buddy list' is signed in. When a user wants to IM another user, it requests the IP address off of the server and then connects over a predefined port.
    The drawback of this configuration is that firewalls will stop the messenger from wroking.
    The second client/server approach will have the server manage not only a mapping of users to IP's but will actually handle routing the messages. This is basically a Chat room implementation but with a thick client. Each client messenger will periodically pool the server for new messages. Once a new message arives, it will probably be most effecient if the client and the server will hold onto a constant connection until a certain time limit has expired (the conversation has 'ended').
    Basically, the server (server meaning anyone listening for a connection such as someone listening for the phone to ring) uses this:
    ServerSocket ss = new ServerSocket(1234); //Port number
    Socket s = ss.accept(); // actual communcations happen over the Socket s.The client (the one making the phone call) will look like this:
    Socket s = new Socket(InetAddress.getByName("12.34.56.78"),1234); //Connect to the other box
    //All communication will happen over the Socket sAll of the above classes are in java.net. Look at the Socket class to see how to get your input and output streams.

  • Java Networking Problem

    Hello,
    I am developing a java network application and was wondering and getting a very annoying unspecific message when I try connecting the application together over a network. The message I get is
    "Exception occured java.lang.NullPointerException " I tried searching the net but got no useful help. Can anyone here help ?
    Thanks,
    Michael

    post more detail of the error message

  • Java networking project

    Basiclay what i want to do is run something basic like pong and have each paddle be controlled by a different person on dofferent computers.
    how can i do this?
    if u have answers or good refrences that could help me pls tell.
    Basicaly i want to start doing java networking but i don't know where to start so i'm starting with a little project like this.
    fishbob

    Basiclay what i want to do is run something basic
    like pong and have each paddle be controlled by a
    different person on dofferent computers.
    how can i do this?
    if u have answers or good refrences that could help
    me pls tell.
    Basicaly i want to start doing java networking but i
    don't know where to start so i'm starting with a
    little project like this.
    fishbobA good place to start is the Java Tutorial:
    http://java.sun.com/docs/books/tutorial/
    Here is the section on sockets:
    http://java.sun.com/docs/books/tutorial/networking/sockets/
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Network Simulation using VSTS Ultimate 2013

    Hi Team
    we are planning to use VSTS 2013 ultimate edition; network simulation feature to emulate network latency for various geographical locations. we would like to know the accuracy in adapting this feature for network simulation.
    An early response is appreciated.
    Raghavendra
    91 9980816710

    Hi Raghavendra,
    In VS2010, VS2012 and VS2013, network simulation feature in visual studio load test supports to simulate network latency with network types such as CDMA, 3G and WAN.
    This blog introduced this topic in details :
    http://blogs.microsoft.co.il/shair/2009/09/22/vs2010-load-test-network-emulation-profile/
    Load Test: How to create a custom network profile for network emulation?
    Thanks,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Advanced Java Networking Tutorials

    Hi,
    Can you please give me some links where I can find some Advanced Java Networking Tutorails. The tutors I find in Sun site are not so advanced.
    Thanks
    Joe

    What kind of advanced networking? RMI, Corba, SOAP, ...? Google for tutorials. Plain sockets? After you know the Java socket API you'll need to get into the fine details of TCP, UDP and IP which are mostly language independent.
    There are also books; one is "Fundamental Networking in Java", the author of which regularly hangs in the Java socket programming forum. If you get his book you'll always have someone who can't possibly refuse to help you: "hey ejp, I read your book and I have this problem..." :-)

  • Cisco Network Simulator - customization

    Hello. I want to buy Cisco Network Simulator for use in studying for CCNA 200-120. I noticed it included very interesting labs who could help me . But, can this simulator be customized ? For example, to create my network , as in Cisco Packet Tracer ?
    Thanks' very much.

    You can revert but you might find that some of your files could no longer be readable in Mountain Lion like your iPhoto Libraries. If you opened iPhoto and the library was upgraded it can no longer be read with the version of iPhoto that runs in Mountain Lion. Same for Apple Mail and some other applications.
    You would need to go back in time to before you upgraded to bring back your data. See this guide for help:
    How to revert OS X back from Mavericks
    https://discussions.apple.com/docs/DOC-6162

  • CCNA Network Simulator

    Hey everyone,
    I just purchased the CCNA network  simulator but I can't log in when I run the program.  It's the CCNA  640-802 Network Simulator software 2nd edition. I have a cisco press  login and password which specifically says you need (see screenshot  attached for error).  I've tried contacting support but i get no  response.  I have turned off windows firewall and disabled my  antivirus.  Any suggestions?

    Hey everyone,
    I  just purchased the CCNA network  simulator but I can't log in when I  run the program.  It's the CCNA  640-802 Network Simulator software 2nd  edition. I have a cisco press  login and password which specifically  says you need (see screenshot  attached for error).  I've tried  contacting support but i get no  response.  I have turned off windows  firewall and disabled my  antivirus.  Any suggestions?
    I think the above error clearly says there is problem with internet connection while connecting with the pearson site while loading the software. check the internet connection while installing the software.
    Hope it Help !!
    Regards
    Ganeshh Iyer

  • Network simulator software

    I'm looking for a good network simulator software to build a physical network virtually that also supports the commands used on the physical network. Thank you in advance. 

    James - GNS3 is very popular among networking community. A lot of people use it for certification studies or POC related testing. It has a little limitation it can't simulate switch ASICs (but has switch modules, which is pretty close)
    Google GNS3 or GNS3 getting started you will get a lot of stuff on how to set it up and use.
    -Terry
    Please rate all helpful posts

  • Bluetooth network simulator

    I have installed Mobility Pack on NetBeans and I want to do bluetooth programming. How can I do the bluetooth network simulation. With Impronto Simulator (www.rococosoft.com) you can see two mobile phones communicate with each other. Unfortunaltety Impronto is not free. Is there a simulator like that in NetBeans, or does anybody know how to deal with this?
    Thank you.

    James - GNS3 is very popular among networking community. A lot of people use it for certification studies or POC related testing. It has a little limitation it can't simulate switch ASICs (but has switch modules, which is pretty close)
    Google GNS3 or GNS3 getting started you will get a lot of stuff on how to set it up and use.
    -Terry
    Please rate all helpful posts

Maybe you are looking for