Creating softlinks on Linux from java

Discussions

Performance and scalability: Creating softlinks on Linux from java

  1. Creating softlinks on Linux from java (2 messages)

    Hi, My Application needs creating Soft links using java. It currently uses Runtime.exec(). But since Runtime.exec resorts to simple forking, the memory consumption doubles every time exec() is called. Could you please suggest any alternative that is more performance friendly?
  2. How about writting a small c++ socket server. This will listen on a private port in your local machine. On arrival of a command, this will create a link using c/c++ apis. Java need to invoke this socket application. You can have a dedicated pool of connections to this server. If you go little further you can develop a JCA service for this with defined amount of connection pools. I am sure this will boost your performance :) Cheers Abinash http://sunilabinash.vox.com/
  3. IPC for making a softlink? I would go for a C implementation and JNI. Philippe