Use Sun Java Studio 2 with Existing Java Application

I have started using Sun Java Studio 2 and having fun and little difficulty creating a new Java web application from scatch. My question is where do I find information on Java Studio configuration to allow Java Studio to load up and modify Java server pages/forms in an existing Java application that I did not write?
The Java application has been created with Javabeans and using BEA Weblogic version 7, with a SQL-Server 2000 database backend.
Below is a bit of code out of one of the main Java forms.
<%@ page buffer="256kb" autoFlush="false" errorPage="../../common/system/error.jsp"
import="psdi.jsp.beans.*, psdi.jsp.common.*, psdi.jsp.app.wotrack.*, psdi.jsp.util.* , psdi.mbo.* , psdi.util.* "%>
I have looked around and have not found what I need to setup in Java Studio to allow me to load up a form and view it in the Visual designer, I keep getting errors on the psdi. references and cannot load up any pages.
I see on the server install ia folder under the main root <DIR> called <apps>, and inside the <apps> folder is a folder called <jsp> and in the <jsp> folder are sub folders for each main module within the application with all the related .jsp files. I have been manually editing the .jsp files using Windows Notpad and saving the changes. Then I rebuild the .ear file and my changes work fine. Since I have a lot of changes to make there has to be a better way than using Notpad.
My hope is somewhere is a point-by-point document on what to so I can use Sun Java Studio 2 to make my changes in a visual IDE.
Any assistance would really be appreciated.

Hi Giri,
Yep, this I know,b ut when I do I get errors messages and am looking for some form of point-bypoint instuction that better explains how to setup up custom libraries in Sun Java Studio, custom tags, etc.

Similar Messages

  • Invisible caret in Sun ONE Studio 5 SE - Java Editor with black background

    How to change caret color in Sun ONE Studio 5 SE - Java Editor?
    The caret blinks changing its color between black and the background color.
    I have changed the background color of the editor to black (the first thing I do whenever presented to a new editor...) But the caret changes its color between black and the background color, that is black - result: the caret becomes invisible.
    Is it possible to change the behaviour of the caret? It could blink changing its color between the background color and a color that is visible (for dark backgrounds, white; for clear backgrounds, black).

    I've found the solution myself.
    Brief description:
    Tools | Options
    Editing | Editor Settings | Java Editor
    tab Expert
    Insertion Point Color = [255,255,255]
    Overwrite Caret Color = [255,255,255]

  • How use system.out.println with a Java Swing Applet?

    Hi guys,
    I was just wondering what can I use to view output on the Java console with a Java Swing Applet?
    At the moment I'm using a JTextArea within the Applet for debugging but I want output to appear in the browser java console but system.out.println doesn't work.
    I'm viewing the Swing Applet on Netscape 4.7 browser.
    Any ideas?

    System.out.println()s work fine! I'm guessing that your problem is that you are looking at the wrong console window!
    You're using the Java Plug-in, right? On Windows, go to your Control Panel and double click "Java Plug-in". You should find a checkbox option to "Show Java Console" - make sure this is checked. Next time you fire up you JApplet, you should see a Java Console window popup.
    Hope this helps!

  • How to load image to midlet using SUN ONE Studio 4, ME?

    Hi, everyone:
    I'm trying to load an image to my midlet using Sun ONE Studio.
    Image image = null;
    try
    image = Image.createImage("/Duke.png");
    }catch (Exception ex) {}
    ImageItem item = new ImageItem(null,image,ImageItem.LAYOUT_CENTER,null);
    append(item);
    I copied Duke.png in the same directory with midlet class file. But I can't see the image. I can get correct result by using J2ME wireless toolkit.
    Anybody know how to use Sun ONE Studio to load image?
    Thank you in advance!

    Hi, everyone:
    I'm trying to load an image to my midlet using Sun ONE
    Studio.
    Image image = null;
    try
    image = Image.createImage("/Duke.png");
    }catch (Exception ex) {}
    ImageItem item = new
    m = new
    ImageItem(null,image,ImageItem.LAYOUT_CENTER,null);
    append(item);
    I copied Duke.png in the same directory with midlet
    class file. But I can't see the image. I can get
    correct result by using J2ME wireless toolkit.
    Anybody know how to use Sun ONE Studio to load image?
    Thank you in advance!
    Hi,
    I have the same problem that you had with the path to the .png file in
    sun one studio 4, ME.
    Have did you solve it?
    I have all my .java files and the .png file in the same dir. and
    the call for creating the Image look like this:
    logo = Image.createImage("/splash3.png");
    and it does not work.
    The .png file is in the jar content.
    Will be thankful for all help!

  • Create a portlet by using Sun One Studio 5

    Hi,
    I am having Sun One Studio 5 and Portlet Builder 2.0, however I do not know how to create a portlet and deploy it into war. Please help me create a portlet using Sun One Studio 5.
    Thanks in advance.
    [email protected]

    Liferay has a forum and you should use it - http://forums.liferay.com/ :-)
    btw, I have used the liferay portal 3.2.0 with jboss/tomcat with inbuilt and custom portlets and never had such an issue. Note that you application user is not the login user to the portal. by default you have to use [email protected]/test and id/pwd.
    Check the installation, dev instructions at
    http://www.liferay.com/web/guest/documentation/installation/jboss_tomcat
    http://www.liferay.com/web/guest/documentation/development

  • Very New To Java, Using Sun One Studio

    I am doing a small work project for a company and they would like me to do a small project using the JavaMail API and the Java One Studio.
    Now I have some experience with Java, It is installing the JavaBeansTM Activation Framework and the JavaMail API to my Classpath.
    How do I figure out what my class path is?
    Thanks Mike

    If on windows or unix, in a shell, type set.
    If on mac OS, then I don't know. Sorry.

  • Trouble with mapping CMR field using Sun One Studio

    I am having trouble adding a cmr between 2 entity beans. It is a simple one to one relationship, navigatable in only one direction. In the database I have a foreign key defined between the two tables that store the data for the beans.
    I add the relation by selecting the 2 beans and define it as one directional, one to one , with the name "bb". I then map the relationship field via the properties/As Sun One tab. I use the foreign key defined in the database. All seems to be well.
    Using Sun One AppServer 7 and Studio 4
    Upon deploying the application I receive:
    CMP Mapping Error in bean Sites:: Warning: The field bb is not mapped.
    Set the column mapping for the field.

    The CMR/CMP mappings is very instable.
    Sunone Studio 5 has a lot of bugs when mapping CMP/CMR but i never saw this one, try to upgrade.
    Please vote for this bug. It's killing me!!!!!!!!!!!!!!!
    http://developer.java.sun.com/developer/bugParade/bugs/4932495.html

  • Embedding JM Studio with a java applet

    Hi all,
    anybody have a idea on how to embed JM Studio
    with a applet.and how it's controls are hiddened?
    i need help on this regard.
    Thanx,
    thirupathi

    Java applets can only access their host machine. If your database is located on a different server than the web server then you get these errors. To access a database located on a different machine you can use the so callled Applet - Servlet tunelling. You actually use a servelt as a proxy. The applet calls the servlet and the servlet accesses the database.
    There is a lot of info on these issues in java.sun.com.
    hope this helps!

  • Running Java apllets with in C++ applications

    How can I run a Java applet in a C++ appliction? I need to make my application load and run a Java applet and communicate with it. Possibly use a little Java native so the Java applet can better communicate with the C++ application.
    So how would I dod this, if I can?

    Check out this part of the Java tutorial:
    http://java.sun.com/docs/books/tutorial/native1.1/invoking/index.html

  • Accessing Java Object with out any application servers

    Hi,
    I would be much thankful if any one guide/suggest me how to
    access an java object with out using any application servers.I am
    having an java object which holds dummy data and an mxml file which
    contains some text fields. My plan was to access the java object
    and put the dummy data in the text fields. I am using RemoteObject
    for this. I am not able to proceed further. Please help me.
    Thanks in advance
    Regards
    Karun Kumar

    You can check The Merapi Project it's still in the
    development phase but it'll allow to an AIR app invoke a java class
    and run it as it were inside your app. But that's something you
    can't take into production yet, why don't u wanna use a server
    backend?

  • How to use Portal SSO with existing BSP application

    Hi all,
    we run SAP EP 6.0 here and have a single start BSP page of
    an application integrated with the SAP appintegrator for BSP. The rest of the existing BSP application still uses
    the login functionality based on CL_BSP_LOGIN_APPLICATION
    and is not integrated in the portal.
    Problem: If a user directly accesses one of the "old" BSP pages, he should be redirected to the portal to auth. him via SSO and afterwards the original BSP page with all its parameters should be processed.
    How to deal with that? Is there a similar mechanism like with the BSP_LOGIN_APP in between for the SAP EP?
    Thanks for your help!
    -RAINER-

    I think that doesnt solve the problem.
    I have 2 systems: SAP ECC with all BSPs and the portal on another system. So I have to entry points: Via portal using the appIntegrator BSP or directly to the ECC.
    As-is: If the auth. for the BSP appl. fails, the user is re-directed via the error page given in the service (SICF)
    to a BSP login app. and from there to the requested page.
    No portal in this concept.
    Must-be: A user is still able to directly access a BSP on the SAP ECC by entering the URL in the browser. It's not a must entering via the portal first.
    So when the login failed on the ECC (no SSO ticket), he should be redirected to the portal for getting his SSO.
    After he signed in successfully the user will be forwarded to the BSP page he entered in the browser the first place.
    I can't see a way to use the URL iView. I am thinking of simply changing the login mechanism of the BSP using the portal login functionality.
    The link you gave me offers an implementation of CL_ICF_SYSTEM_LOGIN. Any ideas?
    Regards,
    -RAINER-

  • Distributing Java Directory with my custom application

    I would like to distribute a JRE with my custom application.
    On a fresh machine, I have managed to copy the entire j2re1.x.x_x directory and have been successful in running my applicaiton without running the usual Windows J2re installer.
    Do I risk losing any J2RE functionality by doing this? Like the ability to run applets in internet explorer...etc???
    It seems that the j2re1.x.x_x directory is self contained...
    Thanks,
    -Trevor
    Message was edited by:
    Superpuffs

    I would like to distribute a JRE with my custom
    application.
    On a fresh machine, I have managed to copy the entire
    j2re1.x.x_x directory and have been successful in
    running my applicaiton without running the usual
    Windows J2re installer.Providing a private JRE in this manner is commonly done to control what Java version is executed. It also allows the user to update their Java without affecting your Java.
    Do I risk losing any J2RE functionality by doing
    this? Like the ability to run applets in internet
    explorer...etc???Yes - varies with the os. See Java's JDK Installation Instructions for details.
    It seems that the j2re1.x.x_x directory is self
    contained...
    Thanks,
    -Trevor
    Message was edited by:
    Superpuffs

  • SAP Developer Studio with no Portal Application option

    Hello everyone, can someone help me in this problem:
    I have installed these days the SAP Enterprise Portal 6.0 SP 7 on Web AS 6.40 and additionally after that I installed for development the SAP Netweaver Developer Studio the version 2.0.3.
    I deployed with SDM those 2 files of PDK 6.0 SP6 in .sda format and add the Java developer role to my admin. I've downloaded from the portal the plugin Connector for Eclipse and copy it in the IDE plugins directory. I made a download in a local directory of the jar files too.
    Starting the Developer Studio with the reason of developing, I can't see in my File-> New ->Project any option like Portal Applications. Not in Windows -> Preferences either.
    Have I done something wrong? If someone had the same problem maybe and want to give a little help.
    I'm thinking now that maybe the version of Developer Studio is too old. If so, does anyone can tell me from where I can download a newer one, because I have seen some links that dont work.
    Thanks,
    Best Regards.

    Hi,
    your version of DevStudio seems indeed to be outdated. If I remember correctly, then EP6 SP7 runs on WebAS 640 SP8? Therefore you should use DevStudio 2.0.8 (where .8 denotes the support package of your WebAS installation)
    You can download a newer version of DevStudio from service marketplace. A trial version of DevStudio 2.0.7 is available here on SDN in the "Downloads/WebAS" section.

  • Integration with existing business applications

    Hi, could anyone share with us in what way OBIEE is commonly integrated into our existing business applications?
    By a linked page embedded or just let users log in to dashboard or any by api or by webservice or any others?
    Thanks!

    Hi
    please refer following links, so that you can get some understanding in using SOAP API of OBIEE with other technology(Java/PHP) web applications...
    http://oraclebizint.wordpress.com/2007/07/31/customizing-obi-ee-soap-api/
    http://gerardnico.com/wiki/ide/eclipse/eclipse_how_to_consume_a_webservice_with_wtp
    check below url in your local installation to see what are the web service methods available for you to communicate..
    http://localhost:9704/analytics/saw.dll?WSDL
    for a simple and easy way 'gourl' functionality can be used..but necessary care to be taken as you pass your username and password in url parameters..
    check below tutorial..
    http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%E2%80%93-go-url-parameters/
    hope thats solves your problem!
    -Niranjan K

  • How can i run my java program with out java language

    Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
    any one can help me??

    Hai to every one ..Iam new to java language ...am
    using windows xp operating system , i did not
    installed java language in my system .. how can i run
    a java program with out installing java language...
    you ... can ... not ... do ... this
    Which files is requied to run java program..?
    any one can help me??a JVM. Download it from sun's website.
    [url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here

Maybe you are looking for