posted 11 years ago
I wrote a simple EJB composed of an entity bean, Home and Remote interfaces. I am using ant (from O'Reilly's Enterprise JavaBeans (4th ed) book website) to create my builds, which compiles fine and builds a ejb-jar.xml and a j-boss.xml file (I am also using JBoss 4.0.2). It builds the .jar file (titan.jar) and deploys to the JBoss server automatically. At this point I thought I could write the client to access my bean. No way, everytime I try and import the home and remote interfaces, I get errors (I am using TextPad to write and compile my files) about how the PersonRemote & PersonHomeRemote classes are not recognizable (even though the .jar is deployed on JBoss). I also, notice that when I use the ant tool the name of the jar file is always titan, (is there a way to change that?). I apologize if my questions seem stupid, but I need some help here badly.