Access MagicDraw data from an ejb container

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

Access MagicDraw data from an ejb container

Postby JB » Wed May 16, 2007 1:19 pm

Hi

Is it possible to access the model by using the open API from an ejb
container, e.g. from an session bean?

Kind regards
JB


JB
 
Posts Rating:

Re: Access MagicDraw data from an ejb container

Postby marlel » Thu May 17, 2007 3:43 am

Hi,

Unfortunately I am not an EJB expert, but I think it is hardly possible.
As I can see MagicDraw application breaks EJB restrictions
(http://java.sun.com/blueprints/qanda/ejb_tier/restrictions.html). E.g:
- use the java.lang.reflect Java Reflection API to access information
unavailable by way of the security rules of the Java runtime environment
- read or write nonfinal static fields
- use the java.awt package to create a user interface
- create or modify class loaders and security managers
- redirect input, output, and error streams
- create or manage threads
- stop the Java virtual machine
- create, modify, or delete files in the filesystem
and maybe more.

Regards,
--
Martynas Lelevicius
Programmer
No Magic Lithuanian Development Center
Savanoriu pr. 363, LT-49425, Kaunas
P.O. box 2166, LT-44011, Kaunas
Phone: +370 37 324032 Fax: +370 37 320670
E-mail : marte
WWW: http://www.magicdraw.com

----- Original Message -----
From: "nntp://news.nomagic.com/nomagic.products.magicdrawuml.openapi"
<jorik>
To: "Martynas Lelevicius" <marlel>
Sent: Thursday, May 17, 2007 10:32 AM
Subject: Access MagicDraw data from an ejb container


> Hi
>
> Is it possible to access the model by using the open API from an ejb
> container, e.g. from an session bean?
>
> Kind regards
> JB
>

marlel
No Magic
No Magic
 
Posts: 383
Posts Rating:29
Joined: Wed Jul 11, 2012 2:31 am


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 0 guests