I've been having problems trying to call an EJB's method from a Java Application Client. Here is the code.

EJB Remote interface :

Java Code:
package BanquierRemote;

import BanquierModel.Clients;
import javax.ejb.Remote;
import java.util.List;

/**
 *
 * @author ahmed
 */
@Remote
public interface banquierRemote {
    public void ajouterClient(Clients client);
    public void supprimerClient(Clients client);
    public void updateClient(Clients client);
    public List listClients();
}
EJB Class :

Java Code:
package BanquierRemote;

import BanquierModel.Clients;
import BanquierModel.ConneX;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Stateless;
import javax.swing.JOptionPane;

/**
 *
 * @author ahmed
 */
@Stateless(name="bank")
public class BanqueImpl implements banquierRemote{

    @Override
    public void ajouterClient(Clients client) {
        if(ConneX.Initialiser())
        {
            String req = "INSERT INTO Clients (nom,prenom,solde,login,mdp) VALUES ('"+client.getNom()+"','"+client.getPrenom()+"',"+client.getSolde()+",'"+client.getLogin()+"','"+client.getMdp()+"')";
            int nb = ConneX.ExecuterMAJ(req);
            if(nb>0)
                JOptionPane.showMessageDialog(null, "Client ajouter avec succes", "Information", JOptionPane.INFORMATION_MESSAGE);
            else
                JOptionPane.showMessageDialog(null, "Erreur Ajout client", "Information", JOptionPane.ERROR_MESSAGE);
            ConneX.Fermer();
        }
        else
            JOptionPane.showMessageDialog(null, "Erreur d'instanciation de la connexion", "Erreur", JOptionPane.ERROR_MESSAGE);
    }

    @Override
    public void supprimerClient(Clients client) {
         if(ConneX.Initialiser())
        {
            String req = "DELET FROM Clients WHERE login='"+client.getLogin()+"'";
            int nb = ConneX.ExecuterMAJ(req);
            if(nb>0)
                JOptionPane.showMessageDialog(null, "Client supprimer avec succes", "Information", JOptionPane.INFORMATION_MESSAGE);
            else
                JOptionPane.showMessageDialog(null, "Erreur suppression du client", "Information", JOptionPane.ERROR_MESSAGE);
            ConneX.Fermer();
        }
        else
            JOptionPane.showMessageDialog(null, "Erreur d'instanciation de la connexion", "Erreur", JOptionPane.ERROR_MESSAGE);
    }

    @Override
    public void updateClient(Clients client) {
         if(ConneX.Initialiser())
        {
            String req = "UPDATE Clients set nom='"+client.getNom()+"',prenom='"+client.getPrenom()+"',solde"+client.getSolde()+",login='"+client.getLogin()+"',mdp'"+client.getMdp()+"' WHERE id="+client.getLogin()+"";
            int nb = ConneX.ExecuterMAJ(req);
            if(nb>0)
                JOptionPane.showMessageDialog(null, "Client ajouter avec succes", "Information", JOptionPane.INFORMATION_MESSAGE);
            else
                JOptionPane.showMessageDialog(null, "Erreur Ajout client", "Information", JOptionPane.ERROR_MESSAGE);
            ConneX.Fermer();
        }
        else
            JOptionPane.showMessageDialog(null, "Erreur d'instanciation de la connexion", "Erreur", JOptionPane.ERROR_MESSAGE);
    }

    @Override
    public List listClients() {
        List listEtudiant = new ArrayList();
        if(ConneX.Initialiser())
        {
            String req = "SELECT * FROM Clients";
            ResultSet rs = ConneX.ExecuterRequete(req);
            try {
                while(rs.next())
                {
                    Clients c = new Clients(rs.getInt("id"),rs.getString("nom"),rs.getString("prenom"),rs.getDouble("solde"),rs.getString("login"),rs.getString("mdp"));
                    listEtudiant.add(c);
                }
            } catch (SQLException ex) {
                JOptionPane.showMessageDialog(null, ex.getMessage(), "Erreur", JOptionPane.INFORMATION_MESSAGE);
            }
            ConneX.Fermer();
        }
        else
            JOptionPane.showMessageDialog(null, "Erreur d'instanciation de la connexion", "Erreur", JOptionPane.ERROR_MESSAGE);
       return listEtudiant;
    }

}
Main class (Client project) :

Java Code:
public static void main(String[] args) throws NamingException {
    Clients client = new Clients();
    client.setNom("BENTAJER");
    client.setPrenom("Mly Ahmed");
    client.setSolde(12);
    client.setLogin("login");
    client.setMdp("mdp");
  Context ctx = new InitialContext();
  BanquierRemote.banquierRemote test = (BanquierRemote.banquierRemote) ctx.lookup("java:global/EJBBanquier/bank");
  try
  {
      test.ajouterClient(client);
  }
  catch(Exception e)
  {
      JOptionPane.showMessageDialog(null, e.getMessage());
  }
}
and when i try to run the project a have this exception :

ImageShack® - Online Photo and Video Hosting