SourceForge logo
SourceForge logo
Menu

andromda-user — Users of AndroMDA meet here.

You can subscribe to this list here.

2003 Jan
Feb
(13)
Mar
(160)
Apr
(52)
May
(51)
Jun
(63)
Jul
(68)
Aug
(37)
Sep
(52)
Oct
(93)
Nov
(88)
Dec
(129)
2004 Jan
(160)
Feb
(117)
Mar
(131)
Apr
(103)
May
(152)
Jun
(370)
Jul
(343)
Aug
(471)
Sep
(375)
Oct
(310)
Nov
(329)
Dec
(292)
2005 Jan
(652)
Feb
(549)
Mar
(760)
Apr
(747)
May
(859)
Jun
(1398)
Jul
(1310)
Aug
(1184)
Sep
(842)
Oct
(918)
Nov
(1073)
Dec
(896)
2006 Jan
(1257)
Feb
(711)
Mar
(997)
Apr
(704)
May
(968)
Jun
(833)
Jul
(812)
Aug
(1048)
Sep
(858)
Oct
(888)
Nov
(758)
Dec
(389)
2007 Jan
(701)
Feb
(991)
Mar
(864)
Apr
(355)
May
(609)
Jun
(515)
Jul
(456)
Aug
(337)
Sep
(235)
Oct
(276)
Nov
(212)
Dec
(205)
2008 Jan
(217)
Feb
(207)
Mar
(260)
Apr
(309)
May
(313)
Jun
(176)
Jul
(130)
Aug
(95)
Sep
(138)
Oct
(110)
Nov
(130)
Dec
(98)
2009 Jan
(100)
Feb
(133)
Mar
(413)
Apr
(116)
May
(172)
Jun
(174)
Jul
(33)
Aug
(82)
Sep
(75)
Oct
(67)
Nov
(3)
Dec
(49)
2010 Jan
(233)
Feb
(113)
Mar
(168)
Apr
(94)
May
(36)
Jun
(68)
Jul
Aug
Sep
Oct
Nov
Dec

Showing results of 34317

1 2 3 .. 1373 > >> (Page 1 of 1373)
From: Ruslanas V. <rus...@gm...> - 2010年01月30日 20:23:04
Hello Karolis,
I would recommend to use AndroMDA for artifacts generating as in this
case you will not depend on particular modeling tool and will be able
to reuse existing AndroMDA cartridges.
However, MagicDraw might be used for preparing efficient modeling
environment for your domain (Open API, custom diagrams, DSL engine,
reports templates and so on).
On Sat, Jan 30, 2010 at 12:49 PM, Karolis Petrauskas
<k.p...@gm...> wrote:
> Hello Ruslanas.
>
>  Thanks for pointing me to MagicDraw's XSD generator. It is quite
> good. Apart from generating XSD I wanted to try to use AndroMDA for
> code engineering. In near future I am going to develop code generator
> for Apache ServiceMix. I'm trying to decide now, witch tools should I
> use for this. Is it convenient way to develop model transformations
> and code generators using MagidDraw OpenAPI? I just has an opinion,
> that usage of external tools like AndroMDA and ATL will be much
> easier.
>
> On Wed, Jan 20, 2010 at 11:17 AM, Ruslanas Vitiutinas
> <rus...@gm...> wrote:
>> Hello Karolis,
>> have you tried MagicDraw Code Engineering feature for XML schema generating?
>>
>> On 20/01/2010 10:59, Karolis Petrauskas wrote:
>>> Hello.
>>>
>>>   I am trying to generate XML schema from an UML model. I developed
>>> UML model using MagicDraw 16.5, exported as "EMF UML2 (2.x) XMI File".
>>> In the model, I imported module
>>> "andromda-profile-xml-3.4-SNAPSHOT.xml.zip" and applied stereotype
>>> "XmlSchemaType" for my class. Build executes successfully, but empty
>>> schema document is generated (just a schema element, with no complex
>>> types). My class has only this stereotype applied. What I'm doing
>>> wrong? If it helps, I can send you my model as well as andromda.xml.
>>>
>>> Sincerely,
>>> Karolis Petrauskas
>>>
>>> ------------------------------------------------------------------------------
>>> Throughout its 18-year history, RSA Conference consistently attracts the
>>> world's best and brightest in the field, creating opportunities for Conference
>>> attendees to learn about information security's most important issues through
>>> interactions with peers, luminaries and emerging and established companies.
>>> http://p.sf.net/sfu/rsaconf-dev2dev
>>>
>>>
>>
>>
>> --
>> Best Regards,
>> Ruslanas Vitiutinas
>>
>>
>> ------------------------------------------------------------------------------
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>>
>
>
>
> --
> Karolis Petrauskas
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
-- 
Pagarbiai,
Ruslanas Vitiutinas
From: Karolis P. <k.p...@gm...> - 2010年01月30日 10:49:20
Hello Ruslanas.
 Thanks for pointing me to MagicDraw's XSD generator. It is quite
good. Apart from generating XSD I wanted to try to use AndroMDA for
code engineering. In near future I am going to develop code generator
for Apache ServiceMix. I'm trying to decide now, witch tools should I
use for this. Is it convenient way to develop model transformations
and code generators using MagidDraw OpenAPI? I just has an opinion,
that usage of external tools like AndroMDA and ATL will be much
easier.
On Wed, Jan 20, 2010 at 11:17 AM, Ruslanas Vitiutinas
<rus...@gm...> wrote:
> Hello Karolis,
> have you tried MagicDraw Code Engineering feature for XML schema generating?
>
> On 20/01/2010 10:59, Karolis Petrauskas wrote:
>> Hello.
>>
>>   I am trying to generate XML schema from an UML model. I developed
>> UML model using MagicDraw 16.5, exported as "EMF UML2 (2.x) XMI File".
>> In the model, I imported module
>> "andromda-profile-xml-3.4-SNAPSHOT.xml.zip" and applied stereotype
>> "XmlSchemaType" for my class. Build executes successfully, but empty
>> schema document is generated (just a schema element, with no complex
>> types). My class has only this stereotype applied. What I'm doing
>> wrong? If it helps, I can send you my model as well as andromda.xml.
>>
>> Sincerely,
>> Karolis Petrauskas
>>
>> ------------------------------------------------------------------------------
>> Throughout its 18-year history, RSA Conference consistently attracts the
>> world's best and brightest in the field, creating opportunities for Conference
>> attendees to learn about information security's most important issues through
>> interactions with peers, luminaries and emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>>
>>
>
>
> --
> Best Regards,
> Ruslanas Vitiutinas
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
>
-- 
Karolis Petrauskas
From: Ruslanas V. <rus...@gm...> - 2010年01月20日 09:30:33
Hello Karolis,
have you tried MagicDraw Code Engineering feature for XML schema generating?
On 20/01/2010 10:59, Karolis Petrauskas wrote:
> Hello.
>
> I am trying to generate XML schema from an UML model. I developed
> UML model using MagicDraw 16.5, exported as "EMF UML2 (2.x) XMI File".
> In the model, I imported module
> "andromda-profile-xml-3.4-SNAPSHOT.xml.zip" and applied stereotype
> "XmlSchemaType" for my class. Build executes successfully, but empty
> schema document is generated (just a schema element, with no complex
> types). My class has only this stereotype applied. What I'm doing
> wrong? If it helps, I can send you my model as well as andromda.xml.
>
> Sincerely,
> Karolis Petrauskas
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
>
> 
-- 
Best Regards,
Ruslanas Vitiutinas
From: Karolis P. <k.p...@gm...> - 2010年01月20日 09:00:01
Hello.
 I am trying to generate XML schema from an UML model. I developed
UML model using MagicDraw 16.5, exported as "EMF UML2 (2.x) XMI File".
In the model, I imported module
"andromda-profile-xml-3.4-SNAPSHOT.xml.zip" and applied stereotype
"XmlSchemaType" for my class. Build executes successfully, but empty
schema document is generated (just a schema element, with no complex
types). My class has only this stereotype applied. What I'm doing
wrong? If it helps, I can send you my model as well as andromda.xml.
Sincerely,
Karolis Petrauskas
From: chad.brandon (A. F. <fo...@an...> - 2009年11月02日 02:17:53
Yes, see: http://galaxy.andromda.org/forum/viewtopic.php?t=6644
--
Chad Brandon - chad [at] andromda [dot] org
http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28202#28202
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: jmcollin92 (A. F. <fo...@an...> - 2009年11月02日 00:09:07
... is it normal ?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28201#28201
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: Overheat (A. F. <fo...@an...> - 2009年11月01日 10:19:38
Andromda is now moving to a new server.
Forum is locked until completion. [Wink] 
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28200#28200
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: WalterIM (A. F. <fo...@an...> - 2009年10月31日 09:17:15
It is already there... add<property name="typeSafeEnumsEnabled">false</property>to the default namespace of your andromda.xml
--
Walter Mourão
http://waltermourao.com.br
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28199#28199
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: Bob F. (A. F. <fo...@an...> - 2009年10月31日 07:33:08
Create a new method in the uml common metafacades model OperationFacade, something like getSequenceBody, or create a new attribute sequenceBody and it will create a getter method automatically. Generate the UML Common and UML14, UML2, UML22 metafacades by building through mvn. You will get a compilation error because the descendants of the abstract OperationFacadeLogic from UML Common do not implement the handleGetSequenceBody method. Just implement that method in each of the metafacade implementations (you can stub it out in UML14 just to get it to compile) using the underlying UML2 types populated from the model and the existing relationships from the UML2 Operation class.
--
Thanks
Bob Fields
bobfieldsfb &lt;at&gt; hotmail &lt;dot&gt; com
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28198#28198
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: jmcollin92 (A. F. <fo...@an...> - 2009年10月30日 20:59:19
Thank's for your reply.
When do you think your fix will be available in maven repo ?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28197#28197
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: WalterIM (A. F. <fo...@an...> - 2009年10月28日 15:28:05
You can have properties to define if the element will generate code or not. For example, in the JSF2 metafacades:&nbsp; &nbsp; <metafacade class="org.andromda.cartridges.jsf2.metafacades.JSFViewLogicImpl">
&nbsp; &nbsp; &nbsp; &nbsp; <mapping>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property name="frontEndView"/>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <property name="containedInFrontEndUseCase"/>
&nbsp; &nbsp; &nbsp; &nbsp; </mapping>
&nbsp; &nbsp; &nbsp; &nbsp; <property reference="viewPopulatorPattern"/>
&nbsp; &nbsp; &nbsp; &nbsp; <property reference="actionFormKey"/>
&nbsp; &nbsp; </metafacade>
the properties "frontEndView" and "containedInFrontEndUseCase" are used to define the instantiation of the metafacade.
--
Walter Mourão
http://waltermourao.com.br
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28196#28196
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: WalterIM (A. F. <fo...@an...> - 2009年10月28日 15:19:02
Quote:
1. Is it possible to generate a GUI application using AndroMDA ?
(end of quote)
Yes, but you need the suitable cartridges.
Quote:
2. Is it possible to use AndroMDA to develop the automation engine as described above ? 
(end of quote)
Yes, it is.
--
Walter Mourão
http://waltermourao.com.br
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28195#28195
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
Hi, I have gone through the tutorial "Getting Started Java", and now I am investigating the development of a software testing automation engine.
As a starting point, I will be looking at a simple Visual Basic Login screen with a user id and a password field, and also an OK button.
The automation engine will read test data from a spreadsheet, populate the window, and click the OK button. Then it will confirm that the the actual result is what was expected. If not, it will generate a defect.
Some questions related to this:
1. Is it possible to generate a GUI application using AndroMDA ?
2. Is it possible to use AndroMDA to develop the automation engine as described above ?
3. Is there any sample UML available for a simple GUI application ? If so, can you please provide a copy of the UML so that I can use it as a template.
Thanks.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28194#28194
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: LacrimaCara (A. F. <fo...@an...> - 2009年10月26日 13:23:43
If I do modify the OperationFacade, how do I bind it in the source code? I understand, that when I have stereotypes, I can bind them and generate some code, but with the OperationFacade I do not know how. Can you tell and help me, please?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28193#28193
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: roos (A. F. <fo...@an...> - 2009年10月22日 10:30:32
I know that this is an old thread, but I had the problem with update-on-read for Entities holding a clob type,too.
Obfuscator's recommendation works here.
This is what I do:
in mda/src/main/config/mappings, I created a file "HibernateExtensionMappings.xml" with the following content:
<?xml version="1.0" encoding="ISO-8859-1" ?> 
<!-- 
&nbsp;Fixes/extends original AndroMDA Hibernate Mappings, which you find in HibernateTypeMappings.xml
--> 
<mappings name="HibernateExtension">
&nbsp; &nbsp;<extends>Hibernate</extends> 
&nbsp; &nbsp; <mapping> 
&nbsp; &nbsp; &nbsp; &nbsp; <from>datatype&#58;&#58;Clob</from>
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<!-- Map to text, as the HibernateStringClobType causes an update after read 
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;if the attribute is NULL 
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; See http&#58;//galaxy.andromda.org/forum/viewtopic.php?t=4583 --> 
&nbsp; &nbsp; &nbsp; &nbsp; <!--to>org.andromda.persistence.hibernate.usertypes.HibernateStringClobType</to--> 
&nbsp; &nbsp; &nbsp; &nbsp; <to>text</to> 
&nbsp; &nbsp; </mapping> 
</mappings>
And in mda/src/main/config/andromda.xml, change to:
&nbsp; &nbsp; &nbsp; &nbsp; <property name="hibernateTypeMappingsUri">file&#58;$&#123;conf.dir&#125;/mappings/HibernateExtensionMappings.xml</property>
With this, the update-on-read problem is fixed here.
Tested with AndroMDA 3.2
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28192#28192
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
Hello,
The post explains how to create Stateful services with the Spring cartridge. The patch was submitted on Jira : .
I need Stateful services with Spring only and also with EJB but this patch doesn't generate stateful session beans when EJB is enabled.
I have implemented EJB stateful as follow. What do you think of this solution ?
Thanks in advance.
0. Applying patch SPRING-131
1. namespace.xml
Add the property ejbStatefulSessionBeanBaseClass
&nbsp; &nbsp; <property name="ejbStatefulSessionBeanBaseClass">
&nbsp; &nbsp; &nbsp; &nbsp; <default>org.springframework.ejb.support.AbstractStatefulSessionBean</default>
&nbsp; &nbsp; &nbsp; &nbsp; <documentation>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Full name of stateful session bean base class for ejb wrapper.
&nbsp; &nbsp; &nbsp; &nbsp; </documentation>
&nbsp; &nbsp; </property>
2. cartridge.xml
Add the property reference ejbStatefulSessionBeanBaseClass
&nbsp; &nbsp; <property reference="ejbStatefulSessionBeanBaseClass"/>
3. SpringSessionBean.vsl
Add the inherited class by service type
 
&nbsp; &nbsp; #if &#40;$springUtils.isStatefulServicesEnabled&#40;&#41; && $service.isServiceTypeStateful&#40;&#41;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; extends $ejbStatefulSessionBeanBaseClass
&nbsp; &nbsp; #else
&nbsp; &nbsp; &nbsp; &nbsp; extends $ejbSessionBeanBaseClass
&nbsp; &nbsp; #end
Add attributes and getters/setters
 
&nbsp; &nbsp; #if &#40;$springUtils.isStatefulServicesEnabled&#40;&#41; && $service.isServiceTypeStateful&#40;&#41;&#41;
&nbsp; &nbsp; 
&nbsp; &nbsp; #foreach &#40;$attribute in $service.attributes&#41;
&nbsp; &nbsp; &nbsp; &nbsp; private $attribute.getterSetterTypeName $attribute.name#if &#40;$attribute.defaultValuePresent&#41; = $attribute.defaultValue#end;
&nbsp; &nbsp; &nbsp; &nbsp; /**
&nbsp; &nbsp; $attribute.getDocumentation&#40;"&nbsp; &nbsp; &nbsp;* "&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/
&nbsp; &nbsp; &nbsp; &nbsp; public $attribute.getterSetterTypeName $&#123;attribute.getterName&#125;&#40;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return this.$&#123;attribute.name&#125;;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; ## - always have as public, having read-only causes too many issues when attempting to 
&nbsp; &nbsp; ##&nbsp; &nbsp;use in other cartridges
&nbsp; &nbsp; &nbsp; &nbsp; public void $&#123;attribute.setterName&#125;&#40;$attribute.getterSetterTypeName $attribute.name&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.$&#123;attribute.name&#125; = $attribute.name;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; #end
&nbsp; &nbsp; #end
Add methods for stateful EJB
 
&nbsp; &nbsp; #if &#40;!$service.abstract&#41;
&nbsp; &nbsp; #if &#40;$springUtils.isStatefulServicesEnabled&#40;&#41; && $service.isServiceTypeStateful&#40;&#41;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; /**
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* EJB creation and deletion.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/
&nbsp; &nbsp; &nbsp; &nbsp; public void ejbCreate&#40;&#41; throws javax.ejb.CreateException
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; load&#40;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; public void ejbPostCreate&#40;&#41; throws javax.ejb.CreateException 
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; #if&#40;$service.attributes.size&#40;&#41; > 0&#41;
&nbsp; &nbsp; &nbsp; &nbsp; public void ejbCreate&#40;
&nbsp; &nbsp; #foreach&#40;$attribute in $service.attributes&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $attribute.type.fullyQualifiedName $attribute.name#if&#40;$velocityCount != $service.attributes.size&#40;&#41;&#41;,#else&#41;#end
&nbsp; &nbsp; #end
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; throws javax.ejb.CreateException
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; #foreach &#40;$attribute in $service.attributes&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.$&#123;attribute.name&#125; = $&#123;attribute.name&#125;;
&nbsp; &nbsp; #end
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; load&#40;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; &nbsp; &nbsp; public void ejbPostCreate&#40;
&nbsp; &nbsp; #foreach&#40;$attribute in $service.attributes&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $attribute.type.fullyQualifiedName $attribute.name#if&#40;$velocityCount != $service.attributes.size&#40;&#41;&#41;,#else&#41;#end
&nbsp; &nbsp; #end
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; throws javax.ejb.CreateException 
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; #end
&nbsp; &nbsp; &nbsp; &nbsp; public void ejbRemove&#40;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; &nbsp; &nbsp; /**
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* EJB activation and passivation.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/
&nbsp; &nbsp; &nbsp; &nbsp; public void ejbActivate&#40;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; load&#40;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; &nbsp; &nbsp; public void ejbPassivate&#40;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unload&#40;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; /**
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Load the Bean Factory and
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* instantiate the Spring Business Object.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/
&nbsp; &nbsp; &nbsp; &nbsp; private void load&#40;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; loadBeanFactory&#40;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.$&#123;businessObject&#125; = &#40;$service.fullyQualifiedName&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; getBeanFactory&#40;&#41;.getBean&#40;"$&#123;service.beanName&#125;"&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; /**
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Unload the Bean Factory.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/
&nbsp; &nbsp; &nbsp; &nbsp; private void unload&#40;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unloadBeanFactory&#40;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; setBeanFactoryLocator&#40;null&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; private javax.ejb.SessionContext sessionContext;
&nbsp; &nbsp; #else
&nbsp; &nbsp; &nbsp; &nbsp; /**
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Every Spring Session EJB needs to
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* call this to instantiate the Spring
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Business Object.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* @see org.springframework.ejb.support.AbstractStatelessSessionBean#onEjbCreate&#40;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/
&nbsp; &nbsp; &nbsp; &nbsp; protected void onEjbCreate&#40;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; #if&#40;$service.generalization && !$service.generalization.abstract&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.onEjbCreate&#40;&#41;;
&nbsp; &nbsp; #end
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.$&#123;businessObject&#125; = &#40;$service.fullyQualifiedName&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; getBeanFactory&#40;&#41;.getBean&#40;"$&#123;service.beanName&#125;"&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; #end
&nbsp; &nbsp; #set &#40;$seeComment = "@see javax.ejb.SessionBean#setSessionContext&#40;javax.ejb.SessionContext&#41;"&#41;
&nbsp; &nbsp; &nbsp; &nbsp; /**
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Override default BeanFactoryLocator implementation to
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* provide singleton loading of the application context Bean factory.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* $seeComment
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/
&nbsp; &nbsp; &nbsp; &nbsp; public void setSessionContext&#40;javax.ejb.SessionContext sessionContext&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &#123;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.setSessionContext&#40;sessionContext&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.setBeanFactoryLocator&#40;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; org.springframework.context.access.ContextSingletonBeanFactoryLocator.getInstance&#40;"$beanRefFactory"&#41;&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; super.setBeanFactoryLocatorKey&#40;"$beanRefFactoryId"&#41;;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; #if &#40;$springUtils.isStatefulServicesEnabled&#40;&#41; && $service.isServiceTypeStateful&#40;&#41;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.sessionContext = sessionContext;
&nbsp; &nbsp; #end
&nbsp; &nbsp; &nbsp; &nbsp; &#125;
&nbsp; &nbsp; #end
 
4. SpringSessionLocalHome.vsl
Add create() method declaration with attributes
 
&nbsp; &nbsp; #if &#40;$springUtils.isStatefulServicesEnabled&#40;&#41; && $service.isServiceTypeStateful&#40;&#41;&#41;
&nbsp; &nbsp; #if&#40;$service.attributes.size&#40;&#41; > 0&#41;
&nbsp; &nbsp; &nbsp; &nbsp; public $service.fullyQualifiedLocalEjbName create&#40;
&nbsp; &nbsp; #foreach&#40;$attribute in $service.attributes&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $attribute.type.fullyQualifiedName $attribute.name#if&#40;$velocityCount != $service.attributes.size&#40;&#41;&#41;,#else&#41;#end
&nbsp; &nbsp; #end
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; throws javax.ejb.CreateException;
&nbsp; &nbsp; #end
&nbsp; &nbsp; #end
5. SpringSessionRemoteHome.vsl
Add create() method declaration with attributes
 
&nbsp; &nbsp; #if &#40;$springUtils.isStatefulServicesEnabled&#40;&#41; && $service.isServiceTypeStateful&#40;&#41;&#41;
&nbsp; &nbsp; #if&#40;$service.attributes.size&#40;&#41; > 0&#41;
&nbsp; &nbsp; &nbsp; &nbsp; public $service.fullyQualifiedEjbName create&#40;
&nbsp; &nbsp; #foreach&#40;$attribute in $service.attributes&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $attribute.type.fullyQualifiedName $attribute.name#if&#40;$velocityCount != $service.attributes.size&#40;&#41;&#41;,#else&#41;#end
&nbsp; &nbsp; #end
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; throws javax.ejb.CreateException, java.rmi.RemoteException;
&nbsp; &nbsp; #end
&nbsp; &nbsp; #end
6. ejb-jar.vsl
Add stateful session-type
 
&nbsp; &nbsp; #if &#40;$springUtils.isStatefulServicesEnabled&#40;&#41; && $service.isServiceTypeStateful&#40;&#41;&#41;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <session-type>Stateful</session-type>
&nbsp; &nbsp; #else
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <session-type>Stateless</session-type>
&nbsp; &nbsp; #end
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28191#28191
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
Thanks Walter. It worked !
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28190#28190
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: WalterIM (A. F. <fo...@an...> - 2009年10月20日 10:16:29
Quote:
C:timetrackercoresrcmainjavaorgandromdatimetrackerServiceUserServiceImpl.java:[17,44] cannot find symbol
symbol : class UserServiceBase
location: package org.andromda.timetracker.service
C:timetrackercoresrcmainjavaorgandromdatimetrackerServiceUserServiceImpl.java:[25,29] cannot find symbol
symbol : method getUserDao()
location: class org.andromda.timetracker.service.UserServiceImpl 
(end of quote)
It looks like you renamed/removed the class UserService and the UserServiceImpl (which is not re-generated) still references it. Try removing the UserServiceImpl.java and let it be generated again.
--
Walter Mourão
http://waltermourao.com.br
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28189#28189
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
Can somebody please help. I urgently need to move forward with the tutorial.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28188#28188
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: Bob F. (A. F. <fo...@an...> - 2009年10月18日 05:02:14
Yes, you're right. I hadn't noticed because we always model standard UML enums, there really isn't such a thing as EnumerationLiteral.Value when using actual UML Enumerations instead of Class <<Enumeration>>. The value declaration was changed from ${literal.enumerationLiteralParameters} in the original template implementation, but that method doesn't exist on EnumerationLiteralFacade, only on AttributeFacade. It is populated there from the tagged value @andromda.persistence.enumeration.literal.parameters. It looks like the original implementation code assumed the enum was always modeled as a class with attributes instead of an actual UML Enumeration with literals. Now I see why I was always getting the ${literal.enumerationLiteralParameters} output from that template in the Java cartridge.
I'm doing some other work in the Java cartridge, trying to make sure the output actually compiles and is compatible with UML2 models, also fixing the types for Int enumerations, I can fix that at the same time. I'm just about finished, will test and apply the changes.
--
Thanks
Bob Fields
bobfieldsfb &lt;at&gt; hotmail &lt;dot&gt; com
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28187#28187
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: WalterIM (A. F. <fo...@an...> - 2009年10月17日 21:49:54
But Bob, don't you think it should use the value of the attribute instead of its name ? My main concern is regarding the current database values.
--
Walter Mourão
http://waltermourao.com.br
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28186#28186
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: Bob F. (A. F. <fo...@an...> - 2009年10月17日 06:32:09
Some references which may be helpful:
 Explains the elements in a UML2 sequence diagram.
 One person's attempt at creating sequence diagrams from source code.
 IBM Rational pluglet to use UML2 elements to retrieve message information from sequence diagrams.
Looks like you need Occurrence/ExecutionSpecification and CombinedFragment objects too.
--
Thanks
Bob Fields
bobfieldsfb &lt;at&gt; hotmail &lt;dot&gt; com
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28185#28185
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
Widas wrote:
1. By main pom.xml, I assume you mean the pom in the directory c:timetracker. Is this correct ?
(end of quote)
Yes.
Widas wrote:
2. Where are the right repositories ?
(end of quote)
Just copy-past the <repositories>...</repositories> lines I send in my previous mail in the main pom.xml. And it shoud be better.
Widas wrote:
3. How can I ensure that the moved documents are downloaded ?
(end of quote)
You will not have any error if the documents are downloaded. The downloaded pom.xml will no more contains "... The document has moved..." but will be a correct and valid pom.xml.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28184#28184
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: jmcollin92 (A. F. <fo...@an...> - 2009年10月16日 22:02:57
WalterIM wrote:
If there is an action and a parameter, it should exist a form and its populator... actually I'm currently reviewing the populator behavior. File the Jira issue, please.
(end of quote)
Jira : JSF 47.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28183#28183
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
From: WalterIM (A. F. <fo...@an...> - 2009年10月16日 17:19:32
If there is an action and a parameter, it should exist a form and its populator... actually I'm currently reviewing the populator behavior. File the Jira issue, please.
--
Walter Mourão
http://waltermourao.com.br
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=28182#28182
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
3527 messages has been excluded from this view by a project administrator.

Showing results of 34317

1 2 3 .. 1373 > >> (Page 1 of 1373)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /