This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
we are monitoring application logs on four Unix servers.Anytime problem is reported, we login to the required server and check the logs.Logs are written to files by rotation. We login by using SSH/Telnet using Putty.We want to see the logs in browser for better monitoring. To do this we can use JSP/Servlet.
Is Java FX a better way to do this?
That's impossible to say without knowing more about the requirements and the environment (including the skills of the developers who'd be writing this application), but -all that aside- I'd say no - a web app without JavaFX is a better approach.
One upside of using a standalone application would be that it could connect simultaneously to all servers that are reachable and show their logs in different tabs (I'd still use Swing instead of JavaFX for that, though).
(Disclaimer: I generally don't advise to use JavaFX at all, because I think it has no future.)
Joined: Mar 13, 2003
Thanks. Swing is better option I think.I am thinking of web application too using servlet/JSP.Requiement is connect to each of the server using SSH. and then collect the latest logs(may be the output of "tail -f <name of file> ") and pass this to model(MVC?) and then displayed in the view at regular interval.