Re: ArgoUML Java Profile

Thomas Neustupny <[email protected]> Wed, 27 Apr 2011 11:44:40 +0200
Newsgroups gmane.comp.lang.uml.argouml.user
Message-ID <[email protected]>
Hi Mark and Tom,

the current Java profile that is included in the Java module only contains =
a selection of classes/interfaces from the JRE/SDK. To make it complete, on=
e could reverse engineer either the .jars of the JRE as Tom suggested, or t=
he sources with Java Source file import. This would indeed result in a larg=
e model.

The intention behind the current Java profile (made by me btw) was differen=
t. It is created to make sure that for Java reverse engineering the resulti=
ng user model gets not too large by creating all the referenced Java classi=
fiers. For this, a set of the most commonly used classes/interfaces without=
 any members was appropriate. However, it is not complete (and needn't be),=
 and entending it for other purposes is an option.

The (architectural) stereotypes that you suggested would be really needed, =
but should probably not be part of the Java profile. MVC pattern, distribut=
ed web applications or other concepts are not Java specific. I'd suggest a =
(small) MVC profile, or a GOF pattern profile, or a JEE profile separate fr=
om the Java profile. (Currently the best way to provide these profiles are =
as ArgoUML modules.)

Regards,
Thomas


-------- Original-Nachricht --------
> Datum: Wed, 27 Apr 2011 00:54:01 -0400
> Von: Tom Morris <[email protected]>
> An: [email protected]
> Betreff: Re: [argouml-users] ArgoUML Java Profile

> On Tue, Apr 26, 2011 at 8:45 PM, Mark Fortner <[email protected]> wrote=
:
> > Recently I needed to create a new class diagram and I thought that the
> Java
> > Profile would contain all classes in the JDK, and all attributes and
> methods
> > for those classes. =C2=A0Since this doesn't seem to be the case, I was
> wondering
> > what the intent was behind the Java profile? =C2=A0I could see having a=
 JEE
> > profile with stereotypes for things like "Controller", and "Service", o=
r
> > "Model", "View", "Controller" but I don't see anything like that in thi=
s
> > profile either.
>=20
> I think the main intent of the Java profile is, first, to split out
> things which are Java specific, but had historically been included in
> the core of ArgoUML.  This was inappropriate, but understandable given
> that the implementation language as well as target language for many
> of the original developers was Java.  Second, it's intended to support
> the requirements of Java reverse engineering and code generation round
> trip.
>=20
> Historically, the recommended way to get what you're looking for was
> to apply the Java classfile reverse engineering module to the JRE lib
> of the desired version.  I haven't tried it in a while, so I wouldn't
> guarantee that it still works, but that would be my first suggestion.
> Choosing appropriate options for modeling fidelity to keep the
> resulting model from being overwhelming is important for this
> exercise.
>=20
> If you generate something useful, the ArgoUML team might want to host
> it someplace where others would be able to reuse it.
>=20
> Tom
>=20
> ------------------------------------------------------
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=3D449&dsMessageId=
=3D2724489
>=20
> To unsubscribe from this discussion, e-mail:
> [[email protected]].

--=20
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=3D449&dsMessageId=3D2=
724568

To unsubscribe from this discussion, e-mail: [[email protected]=
ris.org].