Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1803

Created EJB goes into the view package

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6.0.Final
    • 2.5.0.Final
    • Java EE
    • None

      If I create a new project from scratch and add an EJB, the EJB is created under the service package. But if I am on an already created project and do the same, the EJB is created under the view package.

      The example below show how I create a new EJB under the newly created test project which ends up in service package. And then, I cd an already created project (cdbookstore) and the EJB is created under view :

      [temp]$ project-new --named test
      ***SUCCESS*** Project named 'test' has been created.
      [test]$ ejb-new-bean --named MyService
      ***SUCCESS*** EJB has been installed.
      ***SUCCESS*** EJB org.test.service.MyService created.
      [MyService.java]$ cd ~~
      [test]$ cd ../cdbookstore/
      [cdbookstore]$ ejb-new-bean --named MyService
      ***SUCCESS*** EJB org.agoncal.training.javaee6adv.view.MyService created.
      

            rhn-support-ggastald George Gastaldi
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: