I need to give to a java client a way to send files to another application running in an Application Server. I don’t need to process the file, but do some actions when the file is received.
What good ways to implement this communication are there?
I can think about EJB, but I’m not sure this to be the best option since i don’t need the picture in memory, the same for WebServices…
Another option could be to open an FTP server but I wonder if there is a good alternative to do this with Java.
Any ocurrences or suggestions?
Thanks!
I strongly recommend Netty The documentation is great, it’s simple to implement, and you can send anything through your own custom pipe that you need. Plus they have pre-built helper classes to just send files and do some pre/post processing work on both the client and server.