Find Jobs
Hire Freelancers

Java RMI newbie-- getting errors in SpringToolSuite for imports in client side app java code

$30-250 USD

Annullato
Pubblicato più di 11 anni fa

$30-250 USD

Pagato al completamento
Hi am trying to create an RMI service using Spring. The IDE I am using is the latest version of Spring Tool Suite. I am following instructions as per this URL--> [login to view URL] Now, I have created the server-side code correctly, and the RMI server app context XML file is as below--> Now, I have created the client side app also, and in it this is the code-- (I have omitted the imports/package name)--basically a single variable of integer type is passed as command line param to the client JAR file. This parm is then used as param during call to RMI Service. (It is the only param in RMI invocation). public class TestClient { private static Logger logger = [login to view URL](TestClient .class); /** * Main method of the RMI Service Client * */ public static void main(String[] args) { [login to view URL]("RMI Service Client is starting..."); //RMI Client Application Context is started... ApplicationContext context = new ClassPathXmlApplicationContext("rmiClientAppContex [login to view URL]"); //Remote User Service is called via RMI Client Application Context... SampleTaskrmiClient = (SampleTask) [login to view URL]("SampleTask"); int userid; //get the user id for whom RMI is to be used...this was passed as an argument to the client JAR file... if([login to view URL]!=1) [login to view URL](1); else userid= [login to view URL](args[0]); [login to view URL](userid); [login to view URL]("RMI Service Client is stopped..."); } } Also, the RMI Client App context XML file is as below-- However I am getting errors in Eclipse-- basically for the 2 imports in client side java code-- the imports for "[login to view URL]" and "[login to view URL]" are showing this error--> The import _ _ _ _ _ cannot be resolved. What is wrong in my code? Is there some config/setting change that I have to make? Also, once the above settings are configured, you have to prepare a simple document explaining how to secure the RMI service. And you also have to create a sample RMI service which uses the code as per page quoted above, and secure that RMI service. Simple work for a good java programmer who knows RMI and Spring. Please bid really low- this is easy work for an experienced coder. Thanks, Arvind.
Rif. progetto: 4046939

Info sul progetto

2 proposte
Progetto a distanza
Attivo 11 anni fa

Hai voglia di guadagnare un po'?

I vantaggi delle offerte su Freelancer

Imposta il tuo budget e le scadenze
Fatti pagare per il lavoro svolto
Delinea la tua proposta
La registrazione e le offerte sui lavori sono gratuite
2 freelance hanno fatto un'offerta media di $30 USD
Avatar dell'utente
Hi, Please see the PM. Regards.
$50 USD in 2 giorni
5,0 (18 valutazioni)
4,4
4,4
Avatar dell'utente
Hire me, I can fit in your problem, I've a good experience in Java and RMI
$30 USD in 2 giorni
5,0 (2 valutazioni)
1,8
1,8
Avatar dell'utente
I am experienced java programmer and have in depth knowledge of Spring especially in Spring RMI. I can assist with your problem here.
$30 USD in 1 giorno
0,0 (0 valutazioni)
0,0
0,0

Info sul cliente

Bandiera: INDIA
Bangalore, India
5,0
93
Metodo di pagamento verificato
Membro dal dic 27, 2010

Verifica del cliente

Grazie! Ti abbiamo inviato tramite email il link per richiedere il tuo bonus gratuito.
Non è stato possibile inviarti l'email. Riprova per piacere.
di utenti registrati di lavori pubblicati
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Caricamento anteprima
Autorizzazione per la geolocalizzazione concessa.
La tua sessione è scaduta ed è stato effettuato il log out. Accedi nuovamente per piacere.