J2EE project using AndroMDA framework

Hi All,
Can any one share document or pdf related to j2EE project using AndroMDA framework or the concept behind AndroMDA framework.
Regards,
Shiny

Hi Tobias,
Thanks for the reply.
Do you have any idea why maven tool is used to generate ANdroMDA ejb project. Why can't AndromDA alone can be used for the same?
Regards,
Shiny

Similar Messages

  • Flex Builder 3  new j2ee project using LDS

    Hello
    I am using Eclipse Europa With flex builder v3 beta 2. My
    application server is apache geronimo v2.
    When i deploy my ear file into geronimo i recieve an
    exception: org.apache.geronimo.common.DeploymentException: Could
    not parse TLD file at file in /WEB-INF/lib/flex-bootstrap-jsp.jar.
    This is a flex jar. it is caused by caused by
    org.apache.xmlbeans.impl.piccolo.io.IllegalCharException: Illegal
    XML character: 0x3
    Can any one help me . as i have tried to view this file and i
    have found no illegal character.
    I think this might be an issue with geronimo . but does Flex
    support geronimo.
    Thnks in advance for any help

    I'd love to help because I know how frustrating it is to get
    it working. Unfortunately, I run CF locally and IIS as the web
    server. However, maybe my settings will spark something that you
    can use:
    1
    2. myFirstFlex
    3. C:\Documents and Settings\[useraccount]My
    Documents\myFirstFlex
    4. Web application/
    5. Coldfusion/ColdFusion Remoting
    6. Standalone
    7. c:\coldfusion8
    8. c:\inetpub\wwwroot
    9.
    http://localhost/
    is what works for me

  • How to use crystal report in J2EE Project.

    how to use crystal report in J2EE Project.. any one know please inform me...
    thank you..

    http://www.inetsoftware.de/products/crystalclear/Crystal-Reports.htm?adwords=googleCrystal&gclid=CKDD1YDem5UCFRpknAodZA4EhA
    I think this might help u...

  • Can we use JCo connection with non-Web Dynpro J2EE project in NW

    With Web Dynpro, we have the RFC wizard to call RFCs using JCo connection.  I am wondering, if I create a J2EE project in NW development studio, can I and how to use JCo connection to call RFCs?
    Thanks.

    yes, of course.
    Add jar sapjco.jar then
    import com.sap.mw.jco.*;
    public class Bapi1 extends Object {
       JCO.Client mConnection;
       JCO.Repository mRepository;
       public Bapi1() {
          try {
             // Change the logon information to your own system/user
             mConnection =
                JCO.createClient("001", // SAP client
                  "<userid>", // userid
                  "****", // password
                  null, // language
                  "<hostname>", // application server host name
                  "00"); // system number
            mConnection.connect();
            mRepository = new JCO.Repository("SAPJCo", mConnection);
          catch (Exception ex) {
            ex.printStackTrace();
            System.exit(1);
          JCO.Function function = null;
          JCO.Table codes = null;
          try {
             function = this.createFunction("BAPI_COMPANYCODE_GETLIST");
             if (function == null) {
               System.out.println("BAPI_COMPANYCODE_GETLIST" +
                                  " not found in SAP.");
               System.exit(1);
             mConnection.execute(function);
             JCO.Structure returnStructure =
               function.getExportParameterList().getStructure("RETURN");
             if (! (returnStructure.getString("TYPE").equals("") ||
                    returnStructure.getString("TYPE").equals("S")) ) {
               System.out.println(returnStructure.getString("MESSAGE"));
               System.exit(1);
             codes =
               function.getTableParameterList().getTable("COMPANYCODE_LIST");
             for (int i = 0; i < codes.getNumRows(); i++) {
               codes.setRow(i);
               System.out.println(codes.getString("COMP_CODE") + '\t' +
                                  codes.getString("COMP_NAME"));
          catch (Exception ex) {
            ex.printStackTrace();
            System.exit(1);
          try {
            codes.firstRow();
            for (int i = 0; i < codes.getNumRows(); i++, codes.nextRow()) {
              function = this.createFunction("BAPI_COMPANYCODE_GETDETAIL");
              if (function == null) {
                System.out.println("BAPI_COMPANYCODE_GETDETAIL" +
                                   " not found in SAP.");
                System.exit(1);
         function.getImportParameterList().
           setValue(codes.getString("COMP_CODE"), "COMPANYCODEID");
         function.getExportParameterList().
           setActive(false, "COMPANYCODE_ADDRESS");
         mConnection.execute(function);
         JCO.Structure returnStructure =
           function.getExportParameterList().getStructure("RETURN");
         if (! (returnStructure.getString("TYPE").equals("") ||
                returnStructure.getString("TYPE").equals("S") ||
                returnStructure.getString("TYPE").equals("W")) ) {
            System.out.println(returnStructure.getString("MESSAGE"));
         JCO.Structure detail =
           function.getExportParameterList().
           getStructure("COMPANYCODE_DETAIL");
         System.out.println(detail.getString("COMP_CODE") + '\t' +
                            detail.getString("COUNTRY") + '\t' +
                            detail.getString("CITY"));
      catch (Exception ex) {
        ex.printStackTrace();
        System.exit(1);
      mConnection.disconnect();
    public JCO.Function createFunction(String name) throws Exception {
       try {
         IFunctionTemplate ft =
            mRepository.getFunctionTemplate(name.toUpperCase());
         if (ft == null)
           return null;
         return ft.getFunction();
       catch (Exception ex) {
         throw new Exception("Problem retrieving JCO.Function object.");
    public static void main (String args[]) {
       Bapi1 app = new Bapi1();
    Link: [http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm]

  • A problem with Lucene In a J2EE project

    Hi everyone:
    I am newer for Lucene which is used to build a search eigneer in my J2EE project.
    But I can hardly understand how it works because of my poor English.
    So I need you help:
    * TxtFileIndexer.java
    * Created on 2006�N12��8��, ����3:46
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package classes.php.lucene;
    * @author eingmarra
    import java.io.File;
    import java.io.FileReader;
    import java.io.Reader;
    import java.util.Date;
    import org.apache.lucene.analysis.Analyzer;
    import org.apache.lucene.analysis.standard.StandardAnalyzer;
    import org.apache.lucene.document.Document;
    import org.apache.lucene.document.Field;
    import org.apache.lucene.index.IndexWriter;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.Hits;
    import org.apache.lucene.search.IndexSearcher;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.store.FSDirectory;
    public class TxtFileIndexer {
         public String test() {
              return "test is ok hohoho";
          * @param args
         public String createIndex(String indexDir_path,String dataDir_path) throws Exception {
              String result = "";
              File indexDir = new File(indexDir_path);
              File dataDir = new File(dataDir_path);
              Analyzer luceneAnalyzer = new StandardAnalyzer();
              File[] dataFiles = dataDir.listFiles();
              IndexWriter indexWriter = new IndexWriter(indexDir,luceneAnalyzer,true);
              long startTime = new Date().getTime();
              for(int i=0; i < dataFiles.length; i++) {
                   if(dataFiles.isFile() && dataFiles[i].getName().endsWith(".html")) {
                        result += "Indexing file" + dataFiles[i].getCanonicalPath()+"<br />";
                        Document document = new Document();
                        Reader txtReader = new FileReader(dataFiles[i]);
                        document.add(Field.Text("path",dataFiles[i].getCanonicalPath())); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        document.add(Field.Text("contents",txtReader)); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        indexWriter.addDocument(document);
              indexWriter.optimize();
              indexWriter.close();
              long endTime = new Date().getTime();
              result += "It takes"+(endTime-startTime)
                        + " milliseconds to create index for the files in directory "
                        + dataDir.getPath();
              return result;
         public String searchword(String ss,String index_path) throws Exception {
         String queryStr = ss;
         String result = "Result:<br />";
         //This is the directory that hosts the Lucene index
    File indexDir = new File(index_path);
    FSDirectory directory = FSDirectory.getDirectory(indexDir,false);
    IndexSearcher searcher = new IndexSearcher(directory);
    if(!indexDir.exists()){
         result = "The Lucene index is not exist";
         return result;
    Term term = new Term("contents",queryStr.toLowerCase());
    TermQuery luceneQuery = new TermQuery(term);
    Hits hits = searcher.search(luceneQuery);
    for(int i = 0; i < hits.length(); i++){
         Document document = hits.doc(i);
         result += "<br /><a href='getfile.php?w="+ss+"&f="+document.get("path")+"'>File: " + document.get("path")+"</a>\n";
    return result;
    the code above is from google and it works perfectly in the Lucene1.4. But it not pass the compiler by Netbeans IDE because I use Lucene2.0
    If you have some idea,plz replace these two lines' code with the correct ones.
    Thanks a lot !!

    Hi everyone:
    I am newer for Lucene which is used to build a search eigneer in my J2EE project.
    But I can hardly understand how it works because of my poor English.
    So I need you help:
    * TxtFileIndexer.java
    * Created on 2006�N12��8��, ����3:46
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package classes.php.lucene;
    * @author eingmarra
    import java.io.File;
    import java.io.FileReader;
    import java.io.Reader;
    import java.util.Date;
    import org.apache.lucene.analysis.Analyzer;
    import org.apache.lucene.analysis.standard.StandardAnalyzer;
    import org.apache.lucene.document.Document;
    import org.apache.lucene.document.Field;
    import org.apache.lucene.index.IndexWriter;
    import org.apache.lucene.index.Term;
    import org.apache.lucene.search.Hits;
    import org.apache.lucene.search.IndexSearcher;
    import org.apache.lucene.search.TermQuery;
    import org.apache.lucene.store.FSDirectory;
    public class TxtFileIndexer {
         public String test() {
              return "test is ok hohoho";
          * @param args
         public String createIndex(String indexDir_path,String dataDir_path) throws Exception {
              String result = "";
              File indexDir = new File(indexDir_path);
              File dataDir = new File(dataDir_path);
              Analyzer luceneAnalyzer = new StandardAnalyzer();
              File[] dataFiles = dataDir.listFiles();
              IndexWriter indexWriter = new IndexWriter(indexDir,luceneAnalyzer,true);
              long startTime = new Date().getTime();
              for(int i=0; i < dataFiles.length; i++) {
                   if(dataFiles.isFile() && dataFiles[i].getName().endsWith(".html")) {
                        result += "Indexing file" + dataFiles[i].getCanonicalPath()+"<br />";
                        Document document = new Document();
                        Reader txtReader = new FileReader(dataFiles[i]);
                        document.add(Field.Text("path",dataFiles[i].getCanonicalPath())); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        document.add(Field.Text("contents",txtReader)); //can not pass the Netbeans IDE, maybe the Field class is not support the signature of the fuction Text anymore!!
                        indexWriter.addDocument(document);
              indexWriter.optimize();
              indexWriter.close();
              long endTime = new Date().getTime();
              result += "It takes"+(endTime-startTime)
                        + " milliseconds to create index for the files in directory "
                        + dataDir.getPath();
              return result;
         public String searchword(String ss,String index_path) throws Exception {
         String queryStr = ss;
         String result = "Result:<br />";
         //This is the directory that hosts the Lucene index
    File indexDir = new File(index_path);
    FSDirectory directory = FSDirectory.getDirectory(indexDir,false);
    IndexSearcher searcher = new IndexSearcher(directory);
    if(!indexDir.exists()){
         result = "The Lucene index is not exist";
         return result;
    Term term = new Term("contents",queryStr.toLowerCase());
    TermQuery luceneQuery = new TermQuery(term);
    Hits hits = searcher.search(luceneQuery);
    for(int i = 0; i < hits.length(); i++){
         Document document = hits.doc(i);
         result += "<br /><a href='getfile.php?w="+ss+"&f="+document.get("path")+"'>File: " + document.get("path")+"</a>\n";
    return result;
    the code above is from google and it works perfectly in the Lucene1.4. But it not pass the compiler by Netbeans IDE because I use Lucene2.0
    If you have some idea,plz replace these two lines' code with the correct ones.
    Thanks a lot !!

  • Unable to open connection to MS Access 2013 .accdb file Under WCF Web Service Project Using Windows 8.1 64bit

    I am encountering the following error when trying to connect to an Access 2013 database:
    The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
    I have Visual Studio 2013 SP3 running on Windows 8.1 64bit OS which also has Office 2013 installed (which includes MS Access 2013).  My project is a WCF web service using .NET Framework 4.5.1 using any cpu as target.  I have tried reluctantly
    to install the older drivers as described by in the below article:
    https://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine?forum=vstsdb
     and also went through the "Add Data Source" wizard in the Project menu to have the connect string automatically built.  Even with the automatically built connect string I can not connect to the .accdb file from within my WCF web service.
    What's odd is if I use the Database Explorer in Visual Studio it has no problem connecting the my Access file.  I inspected the connect string and tried to use it as well but still get the same error. Even stranger is that I have no problem connecting
    to the Access DB in an ASP.NET project on the same PC. I am also able to connect to the Access file using a simple Windows Forms application.  So I'm wondering if it has something to do with trying to connect to the Access file from a WCF web service
    project.
    What I'd like to know is if anyone has been able to get this to work in an environment as I described above as a 64bit WCF web service project?  I tried to switch my project to 32bit but when I do I get a different error which reads:
    System.BadImageFormatException: Could not load file or assembly 'file:
    Almost to the point of trying to get this web service project done with SQL Express but would like to know if it can be done with MS Access 2013.  Any information anyone can provide to help me get past this issue is greatly appreciated. Thanks.

    Have you installed the 64-bit Access driver on your machine? See
    Data Source Names and 64-Bit Operating Systems for the differences in odbcad32. Call %SystemRoot%\system32\odbcad32.exe to check the drivers.
    How do you host your service? Stand-alone or IIS or embedded to another application? Keep in mind that IIS7 runs it in its application pool which is defaullt 64bit. Thus the bad image exception, when compiling your service as 32bit.
    When you need the Access database for your service to store informtation, then I would switch to SQL Server (Express) or XML files depending on your actual needs.
    Also check whether your account under which your service is run has the necessary NTFS file permissions on the access file and the folder. This is getting even more complex when it's a remote folder.

  • Problem intregrating Flash help usingRobohelp 8.0 into J2EE project

    Hi,
    I have am working on J2EE project and I have a small issue with getting Flash to run off my localhost server.  I have managed to get the webhelp working but I want to see what the help looks like using flash. I am getting and error when I am trying load the index file:
    "invalid path was requested /application/FlashHelp/whproj"
    I am using have Apache 6.0, struts 1.2.  It loads from the hard drive in both IE and FIrefox but not when I am running from the server.  When running on localhost in Firefox it loads the righthand contents page but none of the dynamic content.  In IE8 it load nothing at all (I assume because it doesn't know what to do after the error is thrown).
    Can anyone shed some light on this topic?
    thanks

    The problem is solved.  The apache server was filtering out .xml files so it was not loading whproj.xml thus all the other *.xml and subsequent flash objects were not loading.  That was only 2 days of trial and error.

  • Help with J2EE Project Management

    Hi,
    We are about to begin a large J2EE project and are wondering if anyone could help with the following questions:
    1. Given the division of labor on J2EE projects (JSP developers, EJB developers, application deployers, etc...), what are "best practices" for building a team and ensuring that they communicate well after the design phase? How will the left arm know what the right arm is doing?
    2. What documentation should be produced during the design phase to give to the developers? Will this allow them to go off and develop independently of each other?
    3. Is there a "best practices" document anywhere on J2EE project management?
    Thanks in advance!!

    Hi,
    I feel any project to start with should have a prior planning,that too particularly for Object oriented programming projects,I feel UML is the best tool for entire process.I think rational software has got lot of Project Management Tools(PMT) and products at all stages.Please go through the rational.com site and hope you could find some info.I feel the answer to your second question is partly 'yes' and partly 'no'.The modules that you can split it up which have got some independent attributes,but it should not be too much in your project,then it affects the work matrix/There should be a optimal process to decide and that you can yourself formulate depending on the time frame,either way the last step of build or integration is not flexible enough that you should mind,modular flexibility can be there but the integration stage you are tied with a fixed process.So plan accordingly using a PMT tool for any project that matters and all the best.Bye
    Hari

  • J2EE - Reports using Business Objects.

    Hi Friends,
    We have a requirement to generate reports in our project using Business Objects v5.1.8.
    Some users/Actors will have assess the reports through Webi of business objects and other requirement is to do some selection criteria in web page and once you get the right details, we should be able to generate report directly from web page (Calling .rpt file of Business objects), J2EE application calling business object report. (similar to calling PDF file in browser).
    Did any body of you did similar thing and is it possible to do through business objects, I know we can do from crystal reports. Do we need any plug-in ?
    I would be grateful, If you have sample code and willing to share.
    Thank You
    srikanth

    oh no, you have that as a requirement! :) well, have fun!! (the guy beside me develops our crystal reports stuff all day).

  • To test BPEL project using a wsdl file.

    Hello Experts,
    I need to test the BPEL Project using the wsdl file.Is there any tool to test the BPEL project?the tool should generate the input data and expected output result using the wsdl file.
    please reply soon
    Thanks in Advance.

    The entire application means the BPEL Project will be invoking many services.Consider a scenario,that i am creating a bpel project which invokes 10 services.If i make some changes in one service,i must be able to check the bpel project with that service alone.i need not cal all the other services.
    I need a framework or tool thet will generate input data and the expected output based on the wsdl file.
    can u suggest any solution for this?

  • Debugging a j2ee project

    -->i have getting assignment to debug the j2ee project .
    -->but i am unable to capture jsp related errors.
    -->how can I debugg project by which I can eliminate errors related jsp from my project.
    -->while I am using ecllipse editor .
    Message was edited by:
    amit.cnb

    If you have a jsp file called Commands.jsp, when you display the jsp page in a browser, it gets compiled into a java servlet called Commands_jsp.java (search for a similiarly named java for for whatever your jsp file is called). If you open that file, you will see the java code generated is quite complicated and even if you can set a breakpoint within it, you cant find where to put the breakpoint. Therefore breakpoints will not help.
    What I do is comment out most of the tags and scriptlets in the jsp file and run the code. When that part of the file is working, I uncomment out the next section of code and try to get that to work.
    An alternative is to crate an empty jsp file and copy pieces of the original jsp file into it piece by piece, verifying each piece before moving onto the next piece.
    The following java scriptlet placed in your jsp file will print out a java object's value to the browser page shown in your browser:
    <% out.write("some value"); %> (((out is one of the objects implicidly available to you on teh jsp page))))
    There may be a product that allows you to set breakpoints in the jsp file (and not the java file generated for that jsp file), but I never saw one yet.

  • J2EE BluePrints Web Application Framework ("WAF")

    hi, i need to develop a web application using j2ee patters. but i have no idea where to start. can i use the WAF which comes with petstore application or is there a place where i can download J2EE BluePrints Web Application Framework ("WAF) APIs. i know for using struts, i have to download struts package from apache.org, but don't know how to use J2EE BluePrints Web Application Framework ("WAF"). can someone plz suggest me a way to start developing a application using j2ee patterns.
    Thanks for ur help
    babu

    At the end of application designing, identify for potential problems from the list of design patterns, if you find a problem then you apply that pattern.
    Don't start with design patterns because it says design or the design patterns is the buzz word.
    --Jay
    http://www.architectslobby.org
    An exclusive community for Enterprise Architects
    Get news, discuss articles, related technologies, architectural topics, design topics, books and more.

  • Advantages and disadvantages of using Caringorm Framework.

    Hi,
    I am new to Caringorm framework.. In our project we need to make discussion whether to use Caringorm framework or a simpler architecture(flex à servicesàServer side) to use
    Please let me know the advantages and disadvantages of using Caringorm framework from your experiences.
    Thanks in advance.

    hi,
    Data about an application object is often distributed on several tables. By defining a view, you can define an application-dependent view that combines this data. The structure of such a view is defined by specifying the tables and fields used in the view. Fields that are not required can be hidden, thereby minimizing interfaces. A view can be used in ABAP programs for data selection.
    More complicated views can comprise several base tables, the individual tables being linked with a relational join operation. If we dont specify the key fields, it takes time to fetch teh results.
    Regards,
    Sailaja.

  • Use signed framework RSL

    Hi all
    I try to use signed framework RSLs to speed up my Flex application startup, so I followed indications "Using the framework RSLs" on help.adobe.com.
    In my project Properties > Flex Build path > Library path :
    - I set Framework Linkage to RSL
    - I edit framework.swc link type : uncheck "linkage  : same as framework", select "link type:RSL", RSL deployment path is "framework_4.5.1.21328.swz", uncheck "force load RSL", and select "application domain : default"
    - do the same for textLayout.swc, spark.swc, rpc.swc
    Then when I compile the project, I have the framework_4.5.1.21328.swz AND the framework_4.5.1.21328.swf in the bin-debug.
    And if I myApp.html in a browser, I see it loads the framework_4.5.1.21328.swf (instead of .swz)
    What did I miss to use the signed framework RSL swz ?
    (I use FlashBuilder 4.5)

    Do an Export Release Build and load the app from bin-release. The debug build uses .swf so that you can debug into framework code.
    -Anirudh

  • Flex and J2EE project

    Trying to create a Flex J2EE project in Eclipse when I get to
    the Server setup the wizard wants the location of the Flex war
    file. I give it the name of my project, still an error What's the
    problem here.
    Shouldn't the wizard setup an new project war file?

    Root folder:
    X:\server\mycompany\deploy\flex.war
    Where X:\ is actually a drive on your server. Use C:\ D:\ or
    E:\ if you run LCDS on your dev machine. In my case, X:\ is a Samba
    connection to a Linux drive on my server where LCDS is installed.
    Root URL:
    http://hostname.int.mycompany.com/flex
    E.g if you installed JBoss on your dev machine, use
    http://localhost:8080/flex
    Context root:
    /flex

Maybe you are looking for

  • Down payment posting for customer (f-29)

    I have post the entries for  customer down payment there was a pop up. ( G/L account define for a/c type D spl G/L indicator.A reconcilation account 3002).Why its came? and what is the solution to post the entries?

  • How to: Display Specific Xml Entry in AS3

    I have a very simple line of code that i'm trying to modify to display a specific entry in a xml file: AS3 Code: // The first step is to activate the XML object AmbientSettingsXML = new XML(); With the XML Object now active you must now load an XML f

  • Can't install adobe air! help

    i don't understand what is the problem....

  • Client Abort Exception

    Hi all , I have a chaching servlet and a compression filter servlet. the compression filter servlet througs up ClientAbortException . what could be the reason. I know that this exception is thrown when the user closes the browser when the responses i

  • Adding of numbers in a column

    Substring from last to position to first space from last.Check if the value is numeric or notIf yes then assign to zeroConvert all values to integer and take sum