Hi Scott,

It currently doesn't work with anything but a project using spring without EJB (because the transactionManager it uses is defined in the main spring applicationContext.xml), this should be resolved soon though.

Chad

Scott Laster wrote:

Great product, I was able to get an EJB layer done, some basic web front
ends with bpm4struts, override the page templates, and I'm trying out the
CRUD feature. I'm using RC2.

I assumed this: " Make sure the bpm4struts cartridge knows how to call the
back-end, set this namespace property:
${pom.package}.ManageableServiceLocator.instance().get{1}()   . (when not
using EJB session beans, this feature's compatibility has not yet been
fully tested with EJBs enabled)" meant to put this:

<manageableServiceAccessorPattern>${pom.package}.ManageableServiceLocator.instance().get{1}()</manageableSer
viceAccessorPattern>

in mda/project.xml, under the andromda-bpm4struts-cartridge dependency?

I added stereotype "Manageable" to all of my entity EJBs, and when
compiling the generated code, I'm getting these errors:

....................
   [javac] Compiling 4 source files to
/home/scott/JDM/jdmrss3ii/web/target/classes
/home/scott/JDM/jdmrss3ii/web/target/src/domain/crud/ManageGroup.java:29:
cannot resolve symbol
symbol  : class ManageableServiceLocator
location: package domain
       
domain.ManageableServiceLocator.instance().getGroupManageableService().create(
             ^
/home/scott/JDM/jdmrss3ii/web/target/src/domain/crud/ManageGroup.java:42:
cannot resolve symbol
symbol  : class ManageableServiceLocator
location: package domain
       final java.util.List list =
domain.ManageableServiceLocator.instance().getGroupManageableService().read(
                                         ^
/home/scott/JDM/jdmrss3ii/web/target/src/domain/crud/ManageGroup.java:61:
cannot resolve symbol
symbol  : class ManageableServiceLocator
location: package domain
       final java.util.List list =
domain.ManageableServiceLocator.instance().getGroupManageableService().readAll();
                                         ^
/home/scott/JDM/jdmrss3ii/web/target/src/domain/crud/ManageGroup.java:81:
cannot resolve symbol
symbol  : class ManageableServiceLocator
location: package domain
       
domain.ManageableServiceLocator.instance().getGroupManageableService().update(
             ^
/home/scott/JDM/jdmrss3ii/web/target/src/domain/crud/ManageGroup.java:97:
cannot resolve symbol
symbol  : class ManageableServiceLocator
location: package domain
           
domain.ManageableServiceLocator.instance().getGroupManageableService().delete(selectedRows);

.......................................................

I have about 12 EJB Entity/Manageable classes all in the package "domain"
- which is the base package in the project.xml file. The entire model is
just entity EJBs, with one Entity EJB and one Session EJB dependent on it.
I tried stereotyping the Session with "Manageable" too but that didn't
seem to work. Any ideas?


Scott










------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user






------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to