Develop an environment: Activity diagram to corresponding JAVA code

we are doing a poject to convert UML Activity diagram to corresponding JAVA code.
How can we develop a plug-in, that can embedded in the an IDE..(UML environment with standard symbols... etc.)
There are already has some IDEs that can use to do this...
-SDE for NetBeans
-SDE for Sun ONE etc.
From where can we find out more details about : how those stuff are created:working.
Any ideas,white papers, research papers on this issues welcome!

Poke around at Eclipse.org. Their stuff is usually talked about/written about.

Similar Messages

  • Need Port number for active Host name using java code

    Hi All,
    I have tnsnames string and I know one of the following Host is working  say Primary-host .
    DESCRIPTION =(ADDRESS_LIST= (ADDRESS = (PROTOCOL = TCP)(HOST = Primary-host)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = Secondary-host)(PORT = 1522)))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = ORA112DB)))
    Could you please help me to get Port number of only primary Side ?. This needs to do because we cannot get port number using any oracle query.
    Thanks in advance
    JPrashant

    You may get client's host IP with
    select sys_context('USERENV','IP_ADDRESS') from dual;
    You may get client's port with
    SELECT port FROM v$session where username = user;
    To get connection port you should issue OS command (*nix) like
    netstat -n | grep <client_ip>:<client_port>
    tcp 0 0 192.168.1.1:1521 132.168.1.2:65432 ESTABLISHED
    To run OS command (keeping in mind all possible security consequences) it is possible to write C, java code.
    Example -- http://www.oracle.com/technetwork/database/enterprise-edition/calling-shell-commands-from-plsql-1-1-129519.pdf

  • Setting up developer's environment

    Hi everyone.
    Sorry if I sound slightly annoyed (it took me an hour to get to this point of posting this question -- after looking for answers, not finding any, then trying to register, activating my account, and then the forums telling me my account isn't active. Took awhile to figure out I had to log out and log back in after the forums automatically logged me after activating. Really doesn't make any sense).
    OKAY
    I need direction.
    I have a few questions:
    - How do I setup my developer's environment for java. I've spent all of yesterday evening trying and failing in every possible way. I've downloaded and installed probably 4 different things and none of which is what I need. Let me expand. I was told to get JDK 1.5.0. So I searched for it on sun and found Java SE 5 and Java EE 5 (both of which I downloaded and installed). Both of which tell me I can't compile - I/O Error: Cannot run program "javac". I've double triple and quadruple checked my environment paths ensuring that - C:\sun\java\jdk\bin is in there. I've loaded up cmd, and javac works off the bat. Still can't compile, same error. Then downloaded Java SE 6, Java SE 6, of which had the same problem. Why isn't any of this working? I just want jdk 1.5.0 and nothing else. Perhaps I should download and install Java ME? or is that bad? I don't have any previous versions of the jdk, (except for ones built into the IDE), so I don't need updates. Also, I'm aware that EE is for servlets, but what other options do I have when SE did not work?
    Essentially: How do I download and install jdk 1.5.0 and only jdk 1.5.0?
    - Why isn't there an official resource on information regarding the different types of developer sdk resources and what is needed? Would be nice to also have information regarding what EE, SE and ME is meant for what apps. I'm probably not looking at the right place, but when I click details, I kind of expect to get details on the package and what it comes with. Installing is nothing short of surprises on what I'm getting
    Essentially: Where do I find official information about Java SDKs? Why is all the information I need in the forums under thousands of posts?
    - Is it possible to customize installs? Select options on what I want, and not installed as a giant ugly bundle?
    Essentially: Probably no, but would be nice for install customizations.
    - Where can I provide feedback or suggestions to Sun? I'd like to let them know to provide human readable titles to the software descriptions. Their download packages are confusing. i.e.:
    Java Development Kit 5.0 for Web Applications
    JDK 5.0 with Java EE
    This distribution of the Java SE Development Kit (JDK) is included in the Java EE 5 SDK, which contains the GlassFish application server and provides web services, component-model, management, and communications APIs that make it the industry standard for implementing enterprise-class service-oriented architecture (SOA) and Web 2.0 applications.
    Please just reply with links directing me to resources. I'd rather not have ppl reply with flames, obvious answers, and the such.
    I almost give up. Very likely this thread will be banned or trashed for duplicate posts somewhere in the last 5 years.
    Kenneth

    kennethkl wrote:
    - How do I setup my developer's environment for java. I've spent all of yesterday evening trying and failing in every possible way. I've downloaded and installed probably 4 different things and none of which is what I need. Let me expand. I was told to get JDK 1.5.0. So I searched for it on sun and found Java SE 5 and Java EE 5 (both of which I downloaded and installed). Both of which tell me I can't compile - I/O Error: Cannot run program "javac". I've double triple and quadruple checked my environment paths ensuring that - C:\sun\java\jdk\bin is in there. I've loaded up cmd, and javac works off the bat. Still can't compile, same error. Then downloaded Java SE 6, Java SE 6, of which had the same problem. Why isn't any of this working? I just want jdk 1.5.0 and nothing else. Perhaps I should download and install Java ME? or is that bad? I don't have any previous versions of the jdk, (except for ones built into the IDE), so I don't need updates. Also, I'm aware that EE is for servlets, but what other options do I have when SE did not work?
    Essentially: How do I download and install jdk 1.5.0 and only jdk 1.5.0?Knowing your IDE is an important piece of information. For example, when you say "can't compile" we default to assuming that means you can't compile from the command line. But you later say Javac works fine from the command line. So where is compilation failing? In your IDE? what IDE?
    You don't need Java EE or Java ME (they're for enterprise and mobile developers respectively; if and when you need it, you'll know). You also probably want the JDK 6, not JDK 5 (might as well learn on the latest and greatest; it's backwards compatible anyway). The place you should have gotten it from is: [http://java.sun.com/javase/downloads/index.jsp]. Look for JDK 6 Update 17 (not with EE, not with ME, and definitely not "JRE 6 Update 17").
    - Why isn't there an official resource on information regarding the different types of developer sdk resources and what is needed? Would be nice to also have information regarding what EE, SE and ME is meant for what apps. I'm probably not looking at the right place, but when I click details, I kind of expect to get details on the package and what it comes with. Installing is nothing short of surprises on what I'm getting
    Essentially: Where do I find official information about Java SDKs? Why is all the information I need in the forums under thousands of posts?I would start here: [http://java.sun.com/docs/books/tutorial/getStarted/index.html]. That will take you through how to set up your environment, up to giving you tutorials about the language and platform itself.
    Also, it will teach you how to develop without an IDE to start with. That's an important first step to make, and you've bypassed it.
    - Where can I provide feedback or suggestions to Sun? I'd like to let them know to provide human readable titles to the software descriptions. Their download packages are confusing. i.e.:
    Java Development Kit 5.0 for Web Applications
    JDK 5.0 with Java EE
    This distribution of the Java SE Development Kit (JDK) is included in the Java EE 5 SDK, which contains the GlassFish application server and provides web services, component-model, management, and communications APIs that make it the industry standard for implementing enterprise-class service-oriented architecture (SOA) and Web 2.0 applications.Well, clicking on Learn More would give you information more at your level. Giving completely indepth and plain-english information for somebody brand-new to Java in that little description area would just make it more difficult for intermediate or senior developers (who know these terms already) to quickly find what they're looking for. Some documentation is bound to assume something about the level of developer. That's why you should stick to the Getting Started tutorial; it's written knowing you know nothing :-).
    I almost give up. Very likely this thread will be banned or trashed for duplicate posts somewhere in the last 5 years.No, we'll get you sorted out.

  • Activity Diagram with Attachment

    I am unable to create an attachment in an activity diagram. I click on "Attachment" in the "Component Palette". Attachment is highlighted. I try to drag and drop onto the diagram. The cursor goes to a plus sign, but when I release the button, nothing is created on the diagram.
    What am I doing wrong?
    Mike

    I see. I first create the note, then attach it to a shape on the diagram using the attachment. I was aware of the Notes. I just thought that an attachment was a special type of document you could include in a diagram.
    I am very familiar with CASE Methodology. There is no funding for training as usual, so I am learning UML modeling as I go. I am not doing Java development. Others in our group use JDeveloper for Java development. I figured since it has some UML modeling diagrams, why not use it. I just wanted to model a new process we have.
    Thank you,
    Mike

  • Java 2 runtime Environment setup failed with a return code of -1

    Hi!
    I have tried to install sdk 1_3_1_01 on Windows 2000 with ServicePack 2 and the error "Java 2 runtime Environment setup failed with a return code of -1" occured. As I saw, a lot of people has the problem but couldn't find a solution on this page!
    Please help !
    Me

    I've installed 1.3.1_01 on both W2K Workstation and Server, no problem. There's a bug report, but no workaround or solution.
    http://developer.java.sun.com/developer/bugParade/bugs/4412291.html
    and it's supposedly 'fixed' in 1.4.0 beta.
    http://java.sun.com/j2se/1.4/fixedbugs/fixedbugs-beta2.html
    You might try installing the beta version
    http://java.sun.com/j2se/

  • How to get XML files out of activity diagrams of UML

    Using Rational Rose I have developed a model now I want a way to get XML file for each activity diagram of the model built. This XML file will be the input file for Project Cleveland which instantiates the services according to the documentation in this XMl file

    In the Photos mode go to the View menu and uncheck Event Titles. That will leave you with only thumbnails displayed in the Photos view. However, if you close from that mode and reopen the opening time will be slower since iPhoto has to read and render all of the thumbnails. It can get rather long.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.≤br>
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Weblogic.developer.interest.environment has moved!

    This newsgroup has been relocated. Going forward, please use the weblogic.developer.interest.environment newsgroup, which will be located in the [url http://forums.bea.com/category.jspa?categoryID=2004]WebLogic Server/Java EE Newsgroups folder, located at:
    http://forums.bea.com/category.jspa?categoryID=2004.
    Please note that this forum is a un-moderated community discussion.

    Pls mention the WLS version & service pack level
              Kumar
              Kevin wrote:
              > Has anyone seen this nasty error before. It is killing my server and Idon't yet know why I get it.Tue Jun 26 19:10:52 CST 2001:<E> <ServletContext-General> Servlet failed with Exceptionjava.lang.ArrayIndexOutOfBoundsException: 7743536at weblogic.servlet.jsp.JspBase.service(Compiled Code)at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled Code)at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled Code)at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)at weblogic.kernel.ExecuteThread.run(Compiled Code)
              

  • JDeveloper Activity Diagram Floating Guards

    I am using JDeveloper 11g Release 1 (11.1.1.2.0) to develop an activity diagram.
    The problem I have is that although I am able to add guards to a control flow and drag them to a suitable position, when I save and re-open JDeveloper they guards have moved to a different position.
    Does anybody know How to fix the position of the guard?
    Thanks in advance.

    Hi,
    11.1.1.2 is a very, very, very old release of 11g R1. Have you verified with a newer build 11.1.1.6 or 11.1.1.7 to verify the issue to exist?
    Frank

  • System Refresh getting error "Your System has corresponding JAVA stack"

    Hello Experts,
    I am trying to do a system refresh on my HCM system which is ABAP only.
    When I run SWPM --> Generic Installation Options -->MS SQL Server --> Database Tools --> Database copy completion, I get the following error.
    Version Information is as follows:
    Kernal is 721
    ECC 6.0 Basis 702 level 9 (Netweaver 7.02)
    Windows server is 2008 R2 standard
    MSSQL is 10.50.4000
    Yes, I have done my research and failed also has a High OSS message open with SAP. This issue is very critical so any help as early as possible is highly appreciated.
    Thank You.

    Hi Muhammad,
    It looks like you have a Java schema in your database, and sapinst is finding that and therefore assuming it's a double-stack system.  Perhaps this system used to be double-stack at one time, and then was split?  In the trace file I saw the following entries, at different points:
    SID: HCT
    DbServer: USALSQLT01\HCMT
    DbName: HCT
    ABAP Schema: hct
    Java Schema: SAPHCTDB
    TRACE      2014-04-18 09:26:36.318
    Found corresponding java schema SAPHCPDB. Aborting.
    TRACE      2014-04-18 09:26:36.333 [iaxxgenimp.cpp:325]
               CGuiEngineImp::showDialogCalledByJs()
    showing dlg d_doubleStackSystemError
    TRACE      2014-04-18 09:26:36.333 [iaxxgenimp.cpp:335]
               CGuiEngineImp::showDialogCalledByJs()
    <dialog sid="d_doubleStackSystemError">
    <title>Unsupported System</title>
    <dialog/>
    So, that seems to be the cause.  If you're sure this is only supposed to be a single-stack ABAP system, you might try deleting the SAPHCPDB schema using database tools and then re-running sapinst.
    While you're at it, it looks like you might have an old copy of Sun JRE 1.4.2 still installed (perhaps from the old days when that version was required to run sapinst).  In the environment variables in the trace I saw:
    JAVA_HOME=C:\j2sdk1.4.2_29-x64
    You might want to uninstall that if you don't need it anymore, and unset that environment variable.  Also, your swap size looks low for a 64-bit system with 8 GB RAM, even for a test system:
    Swap size (MB): 9998.18
    Best regards,
    Matt

  • How to use Active x components in JAVA

    Hi,
    I want to know whether can we use active x components in java.If yes then what is the right method to do so.
    regards
    Anshuman

    I have once heard of a tool in Visual J++ which create a wrapper class (A Java File) when you provide the ActiveX component.
    But I think it is heavily dependant on Ms Java VM

  • Problem in developing a Portal Activity Report iView

    I have developed a Portal Activity Report iView and assigned some iviews to the "Specify Report Content" option! I am supposed to get the user information but instead, I see the message "No content available for the specified period".
       Am I missing anything?
       Can someone help me out in this regard!!!

    Keep in mind that the Portal Activity Reporting functionality only collects user information from hits to <b>pages</b> that have the <b>Monitor Users</b> property set to true.  You can monitor the number of hits to an iView, but cannot collect user information about those hits.  If you need this kind of information for an iView, I would recommend adding the iView to a page and then collecting the activity reporting information you need from the <i>page</i> hits.
    See <a href="http://help.sap.com/saphelp_nw04/helpdata/en/58/7e234239f75733e10000000a155106/frameset.htm">Configuring iViews/Pages for Data Collection</a> for more information.
    Hope this helps,
    Fallon

  • Accessing ACTIVE DIRECTORY FROM JAVA CODE

    I am trying to access the Active DIrectory user through a java code.
    Kindly let me know the steps apart from creating the user in ADS to be followed so that the following java code may work.
    presently it is giving the following error.
    problem serching the directory
    //package com.axa;
    import java.util.Hashtable;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    import javax.naming.*;
    public class AdHelper
         public static void main(String args[])
    System.out.println("1");
              Hashtable env = new Hashtable();
              String adminName = "CN=user,CN=Users,DC=BDC4AXA.CO.IN";
              String adminPassword = "user";
              String ldapURL = "ldap://10.1.242.51:636";
    System.out.println("2");
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              env.put(Context.PROVIDER_URL,ldapURL);
    System.out.println("3");
              try {
                   // Create the initial directory context
                   DirContext ctx = new InitialLdapContext(env,null);
    System.out.println("4");
                   SearchControls searchCtls = new SearchControls();
              System.out.println("5");
                   //Specify the attributes to return
                   String returnedAtts[]={"sn","givenName","mail"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(mail=*))";
    System.out.println("6");
                   //Specify the Base for the search
                   String searchBase = "DC=ANTIPODES,DC=COM";
    System.out.println("7");
                   //initialize counter to total the results
                   int totalResults = 0;
                   // Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
    System.out.println("8");               //Loop through the search results
                   while (answer.hasMoreElements()) {
              SearchResult sr = (SearchResult)answer.next();
                   totalResults++;
    System.out.println("9");
                   System.out.println(">>>" + sr.getName());
                   Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                             System.out.println(" surname: " + attrs.get("sn").get());
                             System.out.println(" firstname: " + attrs.get("givenName").get());
                             System.out.println(" mail: " + attrs.get("mail").get());
                             catch (NullPointerException e)     {
                             System.out.println("Errors listing attributes: " + e);
                   System.out.println("Total results: " + totalResults);
                   ctx.close();
                   catch (NamingException e) {
                   System.err.println("Problem searching directory: " + e);
              catch(Exception e)
                   System.out.println("Unhandled Exception: " + e);
    }

    This is what I have for my LDAP connection.
    public Hashtable<String, String> env = null;
         public LdapContext ldapContext = null;
         public Control[] connCtls = null;
         Context ctx;
         DirContext dirContext;
    public LDAPAuth(String ldapurl) {
              ldapurl = "ldap://" + serverIP + ":389";
              try {
                   env = new Hashtable<String, String>();
                   env.put(Context.INITIAL_CONTEXT_FACTORY,
                             "com.sun.jndi.ldap.LdapCtxFactory");
                   env.put(Context.SECURITY_AUTHENTICATION, "simple");
                   env.put(Context.PROVIDER_URL, ldapurl);
                   env.put(Context.SECURITY_PRINCIPAL, "cn=username,cn=users" + baseName);
                   env.put(Context.SECURITY_CREDENTIALS, "password" + baseName);
                   env.put(Context.SECURITY_PROTOCOL, "ssl");
                   ctx = new InitialContext(env);
              } catch (Exception e) {
                   System.out.println(" bind error: " + e);
                   e.printStackTrace();
              try {
                   ldapContext = new InitialLdapContext(env, connCtls);
              } catch (AuthenticationException e) {
                   System.out.println("Authentication exception " + e);
              } catch (NamingException e) {
                   System.out.println("Naming exception " + e);
         public Attributes fetch(String username) throws NamingException {
              DirContext ctx = new InitialDirContext(env);
              Attributes attributes = ctx.getAttributes(username);
              try {
                   System.out.println("fetching: " + username);
                   Object obj = ctx.lookup("cn=" + username
                             + baseName);
                   System.out.println("cn=" + username + baseName + "is bound to: " + obj);
                   //attributes = obj.getAttributes("");
                   for (NamingEnumeration<?> ae = attributes.getAll(); ae
                             .hasMoreElements();) {
                        Attribute attr = (Attribute) ae.next();
                        String attrId = attr.getID();
                        for (NamingEnumeration<?> vals = attr.getAll(); vals.hasMore();) {
                             String value = vals.next().toString();
                             System.out.println(attrId + ": " + value);
              } catch (NamingException e) {
                   System.out.println(" Problem looking up " + username + baseName + ". " + e);
              return attributes;
    Now, I'm sure it has something to do with how I'm passing in the username and the groups. But I want to have ANY user log in, not just this test. I may be a little confused on how this works, but if anyone could explain to me why what I am trying to do doesn't work, I would greatly appreciate it.
    Thanks in advance,
    Tetsuya.
    Edited by: tetsuyamasamune on Sep 8, 2008 3:55 PM

  • Activity Diagram in Jdeveloper.

    Hi ,
    I am trying to create a activity diagram for representing my requirement.
    I have two separate diagrams. In the MainFLow , i use 'Call Behaviour Action' so that i could call the subFlow. The problem is
    In the MainFlow, i would like to pass the parameters to the SubFlow, to which i have already set 4 parameters.
    Now, I should know, how to assign the values to that parameters from the MainFlow.
    Thanks,
    Sabarisri. N

    Are you dragging from the component palette?
    If so are you seeing a new shape in the App Nav called something like partition0 ?
    If this is the case you can workaround this by clicking on the swimlane in the component palette and then clicking on the surface of the diagram. This works for me, its how I usually create a swimlane.
    Thanks,
    Geoff

  • Creating Activity Diagram from existing code in 11g

    Hi,
    How can I create activity diagram for an existing application in 11.1.2.2.0 version?
    -Infy

    Do you mean you select activity diagram in wizard but you see classes (not invocations/partitions etc) on created diagram?
    If so.. it's a design, you just see activity diagram with inappropriate elemnts.
    We support to create any diagram from any elemnts but may be it's better to block diagram creation from not appliable elemnts.

  • How to develop a Java code that allows other applications to interact

    I would like to program a Java code, in order to allow to third party
    applications (e.g. VB or Power Builder applications ) to call specific
    functions (exposed by me). Is this possible in Java?
    As i m totally new to Java ... i need to know where to start with
    Should i go with
    - Applet or
    - Servlet or
    - Beans
    Thanks :)

    Thanks for the advice dude .. i appreciate what you just said ... i will go thru it definitely ...
    i m not very new to Java ... i m confortable with Core Java ... Just i wanted to understand whether i shud go with JavaBeans ?
    and if so,
    as i understand it correctly ... the jar file will be placed on the third party tool application server(developed in ASP) and the application will call the function (of my jar file)along with parameters to that jar file thru an interface ... and my jar file will calculate the logic and return the string to the applications ASP Page.

Maybe you are looking for

  • Committing changes within a script

    I've noticed that changes made in a script all go into a single action if the user chooses to manually 'undo' the last change. Also, an event like setting document.selection to null doesn't clear out the selected flags for all selected objects until

  • HELP!  Ghost Drives!

    hi co-forumers, i have been tolerant and quiet about this for ages, but can no longer stand this. when attaching external usb drives to my macbook, Finder shows them all without any problem. however, when it comes to saving a file either from the int

  • Interface module in GTS from Non-SAP system

    Hi, GTS experts, Can you give me some hint please. Now I'm plannning to connect Non-SAP system to GTS. Are there any interface modules or something in GTS? At least, following objects & actions are to be transferred and maintenanced. - business partn

  • Scanner mustek 1200 ub dont work with ms-6380 (kt3 ultra)

    after trying get help from mustek, i have been told to upgrade my usb controller. after installing the dirver 4in1 it is still doesnt work. but at my friend home with xp also it does work. i will aprishiate evrey help. thank you.

  • WAP11 - What's the username and password

    After going to http://192.168.1.251 it asked me for username and password but I don't have one. Can you help me?