Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ringle.lai

Pages: [1]
1
Suggestions and Requests / MDA Transformation for EJB
« on: January 11, 2006, 08:25:50 am »
Product: EA 6.0.781
Problem description:
1. When I transfer a class to EJB, the private method in our source class will generate to Remote Interface. That's not make sense.
2. The Bean Class must be implement the method declared in Remote Interface.
Solution:
I've been modified these three transformation type.
1. Class__EJBSessionBean:
   .....
   %list="Operation__EJBRemoteInterface" @separator="\n\n" @indent="  "%
%list="Operation" @separator="\n" @indent="  "%

2. Operation:

%if opScope=="public" or opScope=="Public"%
%endTemplate%
Operation
{
 %TRANSFORM_CURRENT("type")%
 type=%qt%%CONVERT_TYPE("Java",opReturnType)%%qt%
%list="Parameter" @separator="\n" @indent="  "%
}

3. Operation__EJBRemoteInterface:

%if opScope!="public" and opScope!="Public"%
%endTemplate%
Operation
{
 name=%qt%%opName%%qt%
 type=%qt%%opReturnType%%qt%
 scope="Public"
 Tag
 {
   name="throws"
   value="java.rmi.RemoteException"
 }
%list="Parameter" @separator="\n" @indent="  "%
}

2
General Board / Re: New EA 12 Operation & Attribute Dialog error
« on: April 21, 2015, 04:52:33 pm »
I know what's happened!!
There's a new Feature called "Filed Chooser".
If I drop the "Name" Field, the "New Operation" or "New Attribute" will be disappear!!
So I can't add any new operation or attribute until I restore the "Name" filed!

3
General Board / New EA 12 Operation & Attribute Dialog error
« on: April 21, 2015, 04:29:32 pm »
Hi, I found a bug in EA 12.
When I use the Operation Dialog, it will become disable if I delete the final new line in the dialog.
It will not show anyway, and I can't new any operation or attribute.
Anyone could told to me how to solve this problem?

Pages: [1]