[forge-issues] [JBoss JIRA] (FORGE-1803) Created EJB goes into the view package
Antonio Goncalves (JIRA)
issues at jboss.org
Fri May 9 15:25:56 EDT 2014
[ https://issues.jboss.org/browse/FORGE-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12966899#comment-12966899 ]
Antonio Goncalves commented on FORGE-1803:
------------------------------------------
Cool, it's working !
> Created EJB goes into the view package
> --------------------------------------
>
> Key: FORGE-1803
> URL: https://issues.jboss.org/browse/FORGE-1803
> Project: Forge
> Issue Type: Bug
> Components: Java EE
> Affects Versions: 2.5.0.Final
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Fix For: 2.5.1.Final
>
>
> 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}} :
> {code}
> [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.
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the forge-issues
mailing list