facebook

creating the client

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #240092 Reply

    trostum1
    Member

    Hi, i have created and deployed a HelloWorld ejb. I used the tutorial from myeclipseide.com (“creating my first ejb”) to create all the interfaces etc. Then i used xdoclet. I manually created a new class file wich was to be the client who would connect and receive a “hello world” String.

    When i ty to run the client i am missing a bunch og jar-files (from jboss). How can i know wich jar-files i need to import and isn’t there a way for myeclipse to do this automatically?

    #240141 Reply

    Riyad Kalla
    Member

    What app server are you deploying to? Your app server should provide all these JAR files for you.

    #240267 Reply

    trostum1
    Member

    I’m using jboss as an application server. the jar-files i get from jboss, but the thing is i don’t know wich jar-files i need. I’m so frustrated over jboss, myeclipse and this xdoclet stuff that i’m almost throwing the pc out of the window!!

    No good tutorials on using jboss with myeclipse? And where’s the docs on xdoclet???

    #240270 Reply

    Riyad Kalla
    Member

    trostum,
    Sorry to hear you are having a hair-ripping experience with EJBs, this is the reaction that many people have to them which is why Spring was born. Regardless, the tutorials covering JBoss/MyEclipse and EJBs are all in our Documentation section here: http://myeclipseide.com/ContentExpress-display-ceid-67.html

    The one you most likely want to follow step-by-step is the EJB Development one here: http://www.myeclipseide.com/images/tutorials/quickstarts/firstejb/

    I would suggest if you have been banging on this for a while and things are sufficiently mucked with (app server settings, JARs, project settings, etc.) I would encourage you to do the following to keep things simple:

    1) Create a new workspace: File > Switch Workspace > C:\ejbWorkspace, hit OK.
    2) Redownload JBoss 4.0.2 and unzip it to a new location: C:\jboss\4.0.2
    3) Setup JBoss 4 in Myeclipse by pointing ot the home dir and specifying a JDK for it to launch with.
    4) Try and run JBoss from the App server control button in the tool bar, did it start/stop correctly?
    5) Work through the EJB tutorial I gave above step by step and just atleast try and get that working. This should help give you better bearings.

    I think steps 1-3 are important because you want to remove the possibility that some JAR you might have moved or copied is going to cause deployment issues, god knows the simplest little hickups can take up hours to figure out or work around, so I’m trying to minize any of that happening here.

    #240273 Reply

    trostum1
    Member

    ok, thank you. I have downloaded a jboss ide plugin for eclipse. When i tried to follow the tutorial on that it failed right away, an error msg was shown! 🙂
    So i’m removing everything and starting with a fresh copy of it all.
    Also, if you happen to know a good tutorial on how to manually deploy a project on jboss only… post it here

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: creating the client

You must be logged in to post in the forum log in