facebook

Creating EJB’s from existing source

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #231266 Reply

    peepsplat
    Member

    How does one convert a project currently containing EJB home, remote and implementation classes, as well as plain classes, into an EJB project? I have a lot of EJB’s and I would rather not have to go and redefine each one as new all over again then import the source.

    Also, I believe the code I have to work with is J2EE 1.2 (EJB 1.1 ?) Would that be forward compatible with MyEclipse support for J2EE 1.3 or 1.4 ?

    #231283 Reply

    Scott Anderson
    Participant

    How does one convert a project currently containing EJB home, remote and implementation classes, as well as plain classes, into an EJB project?

    First, I’m going to assume that although you said ‘classes’ above, you’re using the term in the generic sense and actully have Java source for all the items in the project.

    There isn’t a way to *convert* your project into an EJB project automatically. The best course is simply to create a single EJB project and then copy the source into it. If the project is external to Eclipse, you can simply drag the source directories from the Windows Explorer into your project in Eclipse. Also, you don’t need one project *per* EJB; one project can contain all your EJBs, if you like.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Creating EJB’s from existing source

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