Creating java IDE in java ( 5 duke)

http://forum.java.sun.com/thread.jsp?forum=4&thread=320340

This will run the class "LoadedC"
     ClassLoader loader = ClassLoader.getSystemClassLoader();
     try
           loader.loadClass("LoadedC").newInstance();
     catch (ClassNotFoundException e)
          System.out.println(""+e);
     catch (InstantiationException e)
          System.out.println(""+e);
     catch (IllegalAccessException e)
          System.out.println(""+e);
     }Noah

Similar Messages

  • Creating java IDE in java

    can any body guide me where can i get right information for my problem --
    i need a JPanel where i can run the java class , in a JFrame i need to have menu with Run Option which always should run a class. any can kind of help is apreciated
    --Naren

    The first class is a frame with a menu, if you seelct the run option the second class (a JPanel) will be loadded and added to the frame.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class LoadC extends JFrame implements  ActionListener
         JMenuItem run;
    public LoadC()
         super();
         setBounds(6,6,420,326);     
         addWindowListener(new WindowAdapter()
        {     public void windowClosing(WindowEvent ev)
                   dispose();     
                   System.exit(0);
         JMenuBar  menu = new JMenuBar();;
         JMenu     submenu;
         submenu = new JMenu("Options");
         run     = new JMenuItem("Run");
         run.addActionListener(this);
         submenu.add(run);
         menu.add(submenu);
         getContentPane().add("North",menu);
         setVisible(true);
    private void loadIt(String name)
         ClassLoader loader = ClassLoader.getSystemClassLoader();
         try
               Object obj = loader.loadClass(name).newInstance();
              JPanel pan = (JPanel)obj;
              getContentPane().add("Center",pan);
              validate();
              repaint();
         catch (ClassNotFoundException e)
              System.out.println(""+e);
         catch (InstantiationException e)
              System.out.println(""+e);
         catch (IllegalAccessException e)
              System.out.println(""+e);
    public void actionPerformed(ActionEvent a)
         if (a.getSource() == run) loadIt("LoadedC");
    public static void main (String[] args)
         new LoadC();  
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class LoadedC extends JPanel
    public LoadedC()
         super();
         setBackground(Color.pink);
         add(new JLabel("I was Loaded"));
    }       Noah

  • Creating XML file from Java Bean

    Hi
    Are there any standard methods in Java 1.5 to create XML file from java bean,
    i can use JAXB or castor to do so,
    But i would like to know if there is any thing in java core classes,
    I have seen XMLEncoder, but this is not what i want.
    Any ideas
    Ashish

    Marshall JavaBean to an XML document with JAXB or XMLBeans.

  • Create Service Consumer BS: java.lang.NoClassDefFoundError

    Hello,
    I am trying to create service Consumer Business Service (consume a Web Service from JD Edwards Enterprise One).
    To do that I have followed the next steps:
    1) Download the WSDL file from CRM On Demand’s web page
    2) From JDE:
    a. Create a business service from OMW
    b. Generate a web service proxy within JDeveloper
    In this step, it was necessary rename the Business Service Package =>
    A portion of the proxy package name must be in upper case; however, JDeveloper named the proxy using lower case.
    I have followed “JD Edwards EnterpriseOne Tools 8.97 Business Services Development Guide” to rename the Business Service Package:
    "Renaming the Business Service Package
    You must rename the package so that the name matches the case of the rest of the
    business service. After you rename the package, you should rebuild the code to ensure
    no errors exist. Use these steps to rename the business service package.
    ► To rename business service package
    In the business service project on JDeveloper
    1. Select the business service package, and then click Replace in Files on the Search menu.
    2. On the Replace in Files window, enter the lower case name (for example, jrh90i20).
    3. Enter the upper case name (for example, JRH90I20).
    4. In the Search Path pane, select the Active Project option.
    5. Click OK.
    The upper case name appears.
    6. Save the renamed file by selecting Save All from the File menu.
    You should rebuild the code to make sure no errors exist."
    However, when I try to generate a secure proxy I have the error:
    java.lang.NoClassDefFoundError --> It is trying to find the package with lower case name, however it is in upper case name…
    Do you know if it is necessary to do something change more? Change some reference file or any path?
    I think that when JDeveloper deploys the secure proxy, internally it has some reference with the lower case name, and it isn’t changed with “Renaming the Business Service Package”…
    I am looking for some file that has some reference but I haven’t found nothing…
    Any help is welcome.
    The log file is:
    java.lang.NoClassDefFoundError: oracle/e1/bssv/j5500007/proxy/types/crmondemand/xml/contact/query/ListOfContactQuery (wrong name: oracle/e1/bssv/J5500007/proxy/types/crmondemand/xml/contact/query/ListOfContactQuery)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at oracle.ideimpl.IdeClassLoader.loadClass(IdeClassLoader.java:129)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer.getValueClassBeanInfo(SchemaAnalyzer.java:465)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.structuredType(ComplexTypeBindingModeler.java:142)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.complexType(ComplexTypeBindingModeler.java:442)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.complexType(LiteralSchemaTypeModeler.java:502)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.schemaType(LiteralSchemaTypeModeler.java:380)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.processElementMember(ComplexTypeBindingModeler.java:339)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.processMember(ComplexTypeBindingModeler.java:191)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.structuredType(ComplexTypeBindingModeler.java:168)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.ComplexTypeBindingModeler.complexType(ComplexTypeBindingModeler.java:442)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.complexType(LiteralSchemaTypeModeler.java:502)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.schemaType(LiteralSchemaTypeModeler.java:380)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.schemaType(LiteralSchemaTypeModeler.java:136)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.LiteralSchemaTypeModeler.schemaType(LiteralSchemaTypeModeler.java:145)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaAnalyzer.schemaTypeToLiteralType(SchemaAnalyzer.java:395)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.searchSchema(WSDLModeler.java:566)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.OperationModeler.searchSchema(OperationModeler.java:946)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.DocLiteralOperationModeler.buildInput(DocLiteralOperationModeler.java:525)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.DocLiteralOperationModeler.buildOperation(DocLiteralOperationModeler.java:256)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.OperationModeler.process(OperationModeler.java:93)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.processSOAPOperation(WSDLModeler.java:1094)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.processBindingOperation(WSDLModeler.java:1028)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.createNewPort(WSDLModeler.java:892)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.processPort(WSDLModeler.java:765)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.processService(WSDLModeler.java:679)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:404)
    at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:223)
    at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:173)
    at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:72)
    at oracle.j2ee.ws.tools.wsa.AssemblerTool.run(AssemblerTool.java:95)
    at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createModel(WsdlToJavaTool.java:398)
    at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.getSeiInfo(WsdlToJavaTool.java:536)
    at oracle.j2ee.ws.tools.wsa.Util.getSeiInfo(Util.java:230)
    at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1085)
    at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2285)
    at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2156)
    at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:308)
    at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.updateServiceModel(WebServiceProxy.java:1190)
    at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.getServiceTargetNamespace(WebServiceProxy.java:1593)
    at oracle.jdeveloper.webservices.model.OracleWebServicesUtils.createInitialClientOracleWebservices(OracleWebServicesUtils.java:1025)
    at oracle.jdeveloper.webservices.model.security.SecurityIO.save(SecurityIO.java:564)
    at oracle.jdeveloper.webservices.model.security.SecurityModel.writeConfiguration(SecurityModel.java:485)
    at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.generateImpl(ProxyGenerator.java:330)
    at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.mav$generateImpl(ProxyGenerator.java:77)
    at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator$1ThrowingRunnable.run(ProxyGenerator.java:206)
    at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
    at java.lang.Thread.run(Thread.java:595)
    Thanks and regards.

    It sounds to me like you are doing the right thing. Take a look at the tutorial on the Oracle Fusion Middleware for Apps Best Practice Center for consuming external web services to see if this helps: http://www.oracle.com/technology/tech/fmw4apps/jde/pdf/consuming-external-web-services-using-business-services.pdf.
    Dave

  • Java IDE (JBuilder) cannot find J2ME's API and packages

    Hi,
    could anyone help me with this?
    I went to sun's java web site, and I downloaded and install the latest version of the wireless toolkit. I need to create a windows application that can send/receive MMS messenges, and hence the need for the J2ME's API and also WMA's API.
    However, even after I installed the wireless toolkit, my Java IDE (JBuilder 2005) cannot detect any packages like "javax.microedition.*" or "javax.wireless.*" etc etc
    Is there a place where I can download/purchase J2ME. Please be patient with me because I am a newbie in the world of J2ME... thanks :)

    When you configuring your project in JBuilder just add some jar (which you need) from wtk library in section "include"
    Project properties
    Paths
    Required libries
    and add here addition j2me libraries.

  • The troubles with creating SQL function in Java

    Hi!
    I use Oracle 10g and connect to it from Java application. I need in creating SQL functions from Java code.
    In Java I have:
    Statement stm = null; try{     stm = dbConnection.createStatement();     stm.executeUpdate( query ); }catch(SQLException ex){     throw ex; }finally{     try{ stm.close(); }catch(Exception ex){ stm.close(); } }
    And I'm passing the next SQL function:
    create or replace function get_me return number is
    result number;
    begin
    select 5 into result from dual;
    return result;
    end;
    This code is run successful, but I can't call this funtion, because it has status Invalid
    I'm looked the next error: PLS-00103: Encountered the symbol "" when expecting one of the following: . @ % ; is authid as cluster order using external character deterministic parallel_enable pipelined aggregate
    But I don't understand, What the matter? From Oracle Enterprise Manager I can create this function without problems. So, I wrote the wong Java code. Also, I can't find my error :(
    May be, do u have the some ideas?
    Thank you very much!

    Post the whole pl/sql code please.
    To run PL/SQL from within java you'll need callablestatement.
    [here |http://www.idevelopment.info/data/Programming/java/jdbc/PLSQL_and_JDBC/CallPLSQLFunc.java] an example : http://www.idevelopment.info/data/Programming/java/jdbc/PLSQL_and_JDBC/CallPLSQLFunc.java

  • Gava SE 1.0, a Java IDE for international code,  released,

    Please go to check http://www.gavasoft.com for more information
    Gava is a Java Integrated Development Environment (IDE), built in pure Java, to develop Java applications and applets. Most part of Gava is developed in Gava itself. As a pure Java application, Gava can run on both Windows and Unix/Linux platforms. It requires JRE 1.4 to execute, but it can debug JDK1.2, 1.3, and 1.4.
    Intuitive, fast, and powerful. Gava is a fast IDE built with many unique and well-thought-out optimizations. Gava users will enjoy a smooth coding feeling throughout the development phases - fast start-up, fast code completion, fast compiling, etc. With a relatively simple but intuitive GUI, Gava provides users powerful functionalities. It suits the needs of all developers, from entry-level to advanced.
    Internationalization. Gava is an IDE designed for developing international Java applications. First, Gava itself is a multilingual Java application. Developers can set Gava to any language, no matter what OS (localized or English version) it is running on. Second, Gava provides many functionalities and tools to easily develop multilingual applications, with either localization or internationalization technologies.
    Write once, develop anywhere. With Gava, you can not only run your projects on multi-platforms, you can also develop your projects on multi-platforms. Gava implements an OS-independent project management architecture. Based on this architecture and other special features in Gava, developers can easily port Gava's projects to different platforms, file systems, or file directories.
    Multiple debugging sessions. Gava can debug multiple debuggees within the same running instance of Gava. This feature makes Client Server debugging much easier, Gava users don't have to switch between running applications.
    Customizable. Gava is configurable. Gava users can customize the GUI look and feel with their favorable fonts and colors to create a work environment suitable for different occasions, either for demonstration or development.
    Now Gava SE 1.0 is available for download. We would appreciate any and all feedback regarding the product. You may download a fully funtional 30 days trial version from our download page, and try it to see how you like it. Thank you.

    As if we don't have enough IDE's already??? And what's this?
    ...Most part of Gava is developed in Gava itself...Huh? is Gava a language too? Like we need yet another language?

  • How to create dynamic properties in java

    Hi All
    Let me give a breif intro of what i am tryng to do.......
    I want to write a jsp page where the data would be coming from JDBC.
    I have abt 18 columns in my oracle table.
    Out of which i am only configured 7 fields on my jsp page.
    I want to create a mapping file which would be like this
    field1 = name
    field10= designation
    field2 = company
    field3 = address
    field4 = pincode
    field7 = mobile
    field8 = salaryNow each field has its own validation. Suppose today i want pincodeto be a string and tomarrow i want it to be number
    the validation shd automatically change
    how can i put these values i meant in what data structure shd i store them
    Please give me some ideas
    thanks
    Diana

    how can i put these values i meant in what data structure shd i store themMeta data.
    You create a "structure" of some sort that has data in it like the following. Figure out how to store it (text file, xml, database, whatever) write code to parse the structure and then build an interpreter that constructs the page.
    I am rather certain that frameworks like this already exist, but if you are new to programming then creating your own is instructive.
    --- Definition
    name: <Display name>
    Oracle: <jdbc position> <oracle type> <size>
    Java: <display position> <java type>
    --- Example
    name: name
    Oracle: 1, varchar 10
    Java: 3, String
    name: Salary
    Oracle: 5, numeric 18,2
    Java: 1, double

  • Error creating Webservice Client in JAVA for ABAP Webservice(WSDL file)

    Hi all,
    I have created a webservice from a funtion module in the backend.
    Using soamanger I downloaded the wsdl file using "Open WSDL document for selected binding" link.
    I tested this web service in backend and it is working fine.
    Now I am trying to generate JAVA cilent for this webservice using Eclipse and Axis,but getting the following error
    IWAB0399E Error in generating Java from WSDL:  WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy):
    faultCode=INVALID_WSDL: Encountered unexpected element '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element
    '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
        at java.lang.Thread.run(Unknown Source)
    Please let me know,wat needs to be done for this error to get resolved
    Thanks
    Santhosh

    Hi,
    I am also getting the same error while generating the client class from IBM Rational Application Developer IDE.
    Here is the error I get.
    WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
         [java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
         [java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         [java] at java.lang.Thread.run(Thread.java:571)
    Did you find out the cause of this issue?
    Thanks & Regards,
    Vijay

  • Creating Table Data in Java

    Hi All,
    there are some examples "Creating Table Data in Java" in the Oracle ADF UIX Developer's Guide Chapter 9 - Creating Tables in ADF UIX.
    Especially the directory listing is interesting. It works fine in my testproject.
    But how can I pass parameters to this class dynamically. (e.g. path of the directory). If I add a new parameter to the method
    public static DataObject getDirectoryData(RenderingContext context,String namespace, String name, String myPara)
    I get the following error message:
    Warning(124,58): test.uix: Parsing error, line 124, column 58: Could not find method getDirectoryData in test.MyTable:Method getDirectoryData does not have the correct signature.
    Thanks for any tips or idea
    Roger

    Thank you for answering.
    May I use this example in a data provider with a dynamic variable for the path?
    If I use my own class inside an INVOKE element the problem is as follows: I'm not able to format the return stream. It contains a StringArray.
    In a servlet I can use the following simple syntax for a HTML choicebox:
    -------------------snipp-----------------------------------
    buffer = buffer + "<select name=\"p_file\" size=\"1\">";
    for (int i=0 ;i<p_length ; i++ ) {
    buffer = buffer + "<option value=\"" +lines[i]+"\">" + lines;
    buffer = buffer + "</select>";
    -------------------snapp-----------------------------------
    I don't find a solution to use a for-loop in uix. The JSTL syntax doesn't work there.
    Any ideas?
    THX Roger

  • How to create a TOOLBOX using Java  - a real CHALLENGE for U

    Hello,
    I want to create a Toolbox using Java which will contain different components of my interest.I should be able to select one component and paste it in a frame also be able set the property of individual component after placing in the frame,just like VB toolbox.
    Can anybody suggest with code samples??
    Regards,
    Suraj.

    You are essentially asking how to write an IDE (Integrated Development Environment). This is a big question. You might start by looking at existing IDE's (JBuilder, Forte...) and see how they do it. If you want source, there is probably an open source IDE you can lift most of your code from.

  • How to create sql database using java frame or appelet?

    hi ! i am working on database project i want to create a database using java frame or applet where it asks user to select the location for database to be created , after user have specified the path then the programs creates the database, again i want that database to be read and write by another frame or applet but as user select the path how do i make the connectivity. i just have basic knowledge on java. please give me idea how can i process further.
    thanks a lot

    While duffymo is correct in regard to most major database products, it's my understanding (warning! wild-ass guess coming) that the Hypersonic DB is more "application-centric" and the dynamic creation of databases is part of its design. It's pure Java database software, and therefore is not appropriate for all database projects, in particular those that require extremely high-performance.
    See http://hsqldb.org/
    I've not used it yet (but soon though), and I can't really advise anyone about it.
    However, I'm wondering if you phrased you question in a way that is confusing us. To most of us in casual conversation, a "database" is both (1) a large organized collection of data and (2) the software that is used to organize and access it. However, the phrase "create a database" usually means creating a (1) database (a collection of data) using an already created (2) database software, such as Oracle, MySQL, DB2, HSQDB, etc., etc. If you'r question is, how do a create some new database software using Java, the answer is that this is a very very big and hard thing to do for the general case and probably not something you want to be doing.

  • Best Java IDE

    Is there any site which ranks the Java IDE's available in the market?

    Ctrl-Space dot completion in codeJBuilder, Eclipse, JCreator all have this. It's becoming a neccesary feature to even be considered.
    ANT integration, for those of you who want itEclipse, JBuilder, probably JCreator.
    Makes suggestions as you write your code. Ex: if I
    create a new class and make use of a Vector, a little
    blue popup appears (that doesn't steal focus) that
    tells me to press Alt+Enter if I want it to insert the
    appropriate import at the top of the file.I like Eclipse's way of doing it. You code and then say organize imports and viola, they are all there. And it doesn't use * it brings in each class separately and asks if there are mulitple classes with the same name.
    Then, with my cursor at the end of "itco", I press
    tab. With one keystroke, the code becomesThis is the same as JBuilder but you use ctrl-J. You can add your own templates also. I assume you can do that in IntelliJ has the same ability. I'm pretty sure Eclipse does too but I haven't bothered to figure out how.

  • Java ide productivity gain

    Hello -
    I'm building a business case for a client regarding Return on Investment (ROI) of Java IDE (not necessarily JDevelopler). The client has 2 different non-IDE environments (one with microsoft products, the other with CORBA). The million dollar question is what productivity gain will they see by moving to a common Java IDE? Thank you.

    Depends upon your staff, their training and understanding; your specific deployment method, your established infrastructure that you must stay within. sigh Productivity gain is relative to starting point, so your question can not be simply responded to without some way of knowing and measuring your current "productivity" and determining a method of projecting, via a metric, the target "productivity" produced by the use of the IDE.
    What is your deployment target? Do you need to debug server side java?
    Another example, if you use BC4J, and currently have no framework for dealing with databases in your Java... you may achieve great "productivity" by not writing your own custom layer. And then there is the "immediate" gain vs the gain over the long haul. ( maintaining/enhancing your proprietary custom layer, dealing with new situations that you didn't know about when you started, etc ).
    Do you have well designed/built templates as a starting place... or will JDEV's wizards help generate code for you and remove a lot of muck work?
    FWIW, I've seen folk use notepad and W95 to create complex Java apps/websites ( or for that matter C++ apps ) faster than fancy development IDEs for spot, narrowly focused and discrete tasks and projects. Those folk also knew how to use the web to find re-usable components quickly. Not that the resulting apps were all necessarily MAINTAINABLE.
    I'm glad to discern that you are not looking at JDev as a "RAD" tool, or mistake it for a 4GL.
    But when looking at JDEV as an Enterprise level database applications toolset for building Java/Web applications for the long haul... well... I picked it. grin
    You might look at the JDEV 9i white paper. See closer integration for Repository, PL/SQL, UML modeling/Designer... etc.
    Lastly, I think any IDE you get will NOT be a productivity gain until your staff has training in how to use it, has some time to learn the quirks and workarounds, determines how to set up infrastructure/standards... the first project will probably be a bear.. but AFTER the first project, if you persevered, kept the staff, and use the same approach and look/feel ( application/applet/jsp/servelet/ad nauseam ) then you should see fairly good productivity gain. What's fairly good? ( What's quality? I know it when I see it. )
    Heheh. Good Luck.

  • Help Needed in Creating Java Class and Java Stored Procedures

    Hi,
    Can anyone tell how can i create Java Class, Java Source and Java Resource in Oracle Database.
    I have seen the Documents. But i couldn't able to understand it correctly.
    I will be helpful when i get some Examples for creating a Java Class, Java Source and Stored Procedures with Java with details.
    Is that possible to Create a Java class in the oracle Database itself ?.
    Where are the files located for the existing Java Class ?..
    Help Needed Please.
    Thanks,
    Murali.v

    Hi Murali,
    Heres a thread which discussed uploading java source file instead of runnable code on to the database, which might be helpful :
    Configure deployment to a database to upload the java file instead of class
    The files for the java class you created in JDev project is located in the myworks folder in jdev, eg, <jdev_home>\jdev\mywork\Application1\Project1\src\project1
    Hope this helps,
    Sunil..

Maybe you are looking for