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

Created EJB goes into the view package

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.5.0.Final
    • Fix Version/s: 2.6.0.Final
    • Component/s: Java EE
    • Labels:
      None

      Description

      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.
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  gastaldi George Gastaldi
                  Reporter:
                  agoncal Antonio Goncalves
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: