bogun81 0 Newbie Poster

I need to provide web user interface... When client choose search option I want to call method which runs on remote cluster. So I need to use apache tomcat which runs on my localhost for servlet implemenation. From servlet I want to make RMI communication towards cluster machine and then to get result from method which is going to run on cluster... I never worked on this before and I am not sure is this is a valid solution?
Does anybody have some suggestion or approval?