How can i use Java

How can i use javabeans in forms?

You need to Create your JavaBean.
Then you need to run the "Oracle Forms PJC" Wizard which can be found at File | New .../Beans tab.
This wizard generates the correct adapters to allow JavaBean properties/events to be propogated to / from the Forms environment.
For more details, please search the Help system for PJC.
-John

Similar Messages

  • How can we  use java variable in javascript code on JSP page?

    How can we use java variable in javascript code on JSP page?
    Pls help

    Think about it:
    JSP/Java is executed on the Server and produces HTML+JavaScript.
    Then that HTML+JavaScript is transfered to the client. The client now interpretes the HTML+JavaScript.
    Obviously there's no way to access a Java variable directly from JavaScript.
    What you can do, however, is write out some JavaScript that creates a JavaScript variable containing the value of your Java variable.

  • How can I use Java to do Seismic programming as Motif?

    One of my friend recently finished a seismic on-site data processing program using
    Motif on Solaries.He asked me if I can implement the same function to use Java language
    so that the program can run on different platforms such as Windows,Unix.
    Seismic data is usually enormous.And I don't have any experence in plotting seismic
    curves by using Java.
    Is there any seismic processing software programmed with Java available?
    I will appriciate any help.
    Thank you

    I think the point is not the word seismic than 'how to plot curves in Java.'.
    You can find many resources about plotting curves you want in Java2D.
    Refer to these URL:
    Java2D http://java.sun.com/products/java-media/2D/index.html
    Java2D Tutorial http://java.sun.com/docs/books/tutorial/2d/index.html

  • How can get & use java true type fonts in my applets

    Hi
    I could get the System fonts in my Applet by making use of Toolkit.getFontList()
    I have used getGraphicsEnvironment to get fonts but my browser doesn't support it.I get ClassNotFoundException.
    How can I get & make use True Type Fonts in my Java Applet.
    any body knows reply immediate pls
    Siva

    similar problem:
    http://forum.java.sun.com/thread.jsp?forum=31&thread=164516
    sorry, thats all i know.
    tobias

  • How can I use java with DMI(Desktop Management Interface)? Help please..

    I want to use Java to develop DMI. Please help...Thanks.

    You are not getting replies because your question may need a course to answer. Just like, hey, can someone tell me how to write an email application? Or,
    Can someone show me how to build a house?
    Start writing your application, when you get stucked, post your questions.
    Or, at least be more specific. Like, elaborate DMI and things like that.
    Do a search on DMI, you may find what you need.

  • How can i use Java proxies?

    Hi,
    Q1. Where all can  java proxies be used?  Is it only in scenarios where a java appication(like jsp) is involved?
    I have a IDOC-XI-SFTP scenario.
    I have a java program that creates the SSH session and transfers files. I can use this as a Java Mapping and do the SFTP , but can i do it in java proxies? if yes then how can i create the java proxy as the receiver. Note:  i dont have a java application in the sceanrio.
    pls tell me if its not clear, i can clarify.

    Hi,
    In addition to what michal said i would like to share some good references with you.
    java proxies
    Java Proxies and SAP XI: The Inside
    Story u2013 Part I
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies
    Asynchronous Inbound Java Proxy.
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1929. [original link is broken] [original link is broken] [original link is broken]
    advanced search
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Concept of proxy generation
    /people/srinivas.gv/blog/2005/09/27/concept-of-proxy-generation
    An Illustration of Java Server Proxy
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    rgds
    joel

  • Hi, On Maverick (Mac OS X 10,9) how can I use Java?

    Hi, Could somebody suggest me the way, how, which update of Java can be used on Maverick?
    Thanks in advance
    juliafromhun

    I use Oracle's Java, Java 7 build 45. You can download it from -> http://www.java.com/en/download/faq/java_mac.xml.
    Good luck,
    Clinton

  • How can I use java.util.Date and change display format.

    Hello All,
    I want to use java.util.Date in View Context and in Custom Control Context of Web dynpro java. When i mapped of a Input Field to the java.util.Date then message shows that its not supported. Plz suggest me how to handle Date with different formats ??

    If you always want the user to enter the date in dd/MM/yyyy, you can do the following.
    Goto Local Dictonary -> Simple types in your project and create a type known as "InputDate" (or whatever you feel) of built-in type 'Date'.
    Now specifiy its format in the 'Representation' tab as "dd/MM/yyyy" (case-senstive).
    Now declare a value attribute say "inputdate" in your context with this type and bind the inputfield to this context value attribute.
    This will solve your problem.
    But if you want the user to input date depending on the region he belongs, change the default locale date in Control Panel->Regional and Language Options->Change to English(UK) -> Customize -> Date Tab -> Sort Date Format to dd/MM/yyyy.
    Now clear the cache, delete temporary files and restart the machine. This should solve the problem.

  • How can I use java on the web?

    hi
    I would like to learn about making websites using java?? do i have to learn about javascript or another type of java??
    Im new in using java applet, threading and stuff like that :).
    And maybe I can make management systems in java language is this possible?
    thanks

    mshadows wrote:
    hi
    I would like to learn about making websites using java?? do i have to learn about javascript or another type of java??
    javascript is not a type of java. It is a separate language. What do you mean by "making websites". A website in its simplest form is just an HTML page. If you want to learn what's called a "server side web programming language", which will allow you to do things like retrieve data that a user entered into a form on an HTML page and store it in a database, then first you need to learn basic java, and then you need to learn basic HTML(and it would be beneficial to learn basic javascript although that's not mandatory), and then you need to learn "servlets+jsp"--which is the java version of a "server side web programming language". The easiest "server side web programming language" to learn and the one that is most popular is php.
    Some books you might consider:
    beginning Java: "Java2: A Beginner's Guide"
    beginning servlets+jsp: "Murach's Java servlets and JSP(2008 edition)" -- includes an introduction to HTML
    Im new in using java applet, threading and stuff like that :).OK. You don't need know applets or threading to learn servlets+jsp.
    And maybe I can make management systems in java language is this possible?
    Sure.
    Edited by: 7stud on Jun 6, 2008 10:17 PM

  • How can I using java bean to insert new record

    Hi everybody,
    I'd some problem when I insert a record using java bean. When insert a record, the resultset executeUpdate return 0 anc cannot add record to database. Would you please tell me what's wrong in my code?
    java bean
    package miniproj;
    import java.sql.*;
    public class Register{
    private String sql;
    private String username;
    private String usertype;
    private String password;
    private String blocknum;
    private int floornum;
    private String owner;
    private int rows;
    private String s;
    // set parameter to database
    public int setMember(){
    try{
    //load database driver
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    // Get a connection to the database
    Connection sqlConn = java.sql.DriverManager.getConnection("jdbc.odbc:WFBS");
    // Get a statement from the connection
    Statement sqlStmt = sqlConn.createStatement();
    sql = "INSERT INTO USERS(user_name, password) VALEUS ('aaa', 'aaa')";
    // sql = "INSERT INTO USERS(user_name, password) VALEUS (" + user_name + "," + password + ")" ;
    rows = sqlStmt.executeUpdate(sql);
    // sqlRst.close();
    sqlStmt.close();
    sqlConn.close();
    catch(SQLException se){
    catch(Exception e){
    return rows;
    // set user name method
    public void setUsername(String name){
    username = name;
    // set passwrod method
    public void setPassword(String pwd){
    password = pwd;
    // set block num mehtod
    public void setBlockNum(String block){
    blocknum = block;
    // set floor num method
    public void setFloorNum(int floor){
    floornum = floor;
    // set owner method
    public void setOnwer(String own){
    owner = own;
    // get user name method
    public String getUsername(){
    return username;
    // get password method
    public String getPassword(){
    return password;
    jsp code
    <%@ include file="Header.jsp" %>
    <%@ page errorPage="Error.jsp" %>
    <jsp:useBean id="register" class="miniproj.Register" />
    <jsp:setProperty name="register" property="*" />
    User name : <%=register.getUsername()%><br>
    Password : <%=register.getPassword()%><br>
    <%
    int i = register.setMember();
    out.println(i);
    %>
    Thanks a lot
    Chris

    Seems to me that executeUpdate() would throw an SQLException, which in turn would get caught by your empty catch. The SQL keyword VALUES is misspelled. Put a 'se.printStackTrace()' in your catch to confirm this.

  • Safari cannot support Java 7., how can I use Java 6 developed by Apple?

    I was told to go the Terminal page and to key in the scipts provided by Apple but still could not get rid of Java 7 and restore to Apple's Java 6.
    The plug in is now blocked.
    http://support.apple.com/kb/HT5559?viewlocale=en_US

    Who says you can't have Java on a Mac. Just make sure you have the latest version, downloaded from http://java.com/en/download/index.jsp or thru the Java Control Panel if you had installed the previous Oracle-released version.
    Here's my Safari window (also works in the other browsers):

  • How can i use JAVA BEAN and JSP?

    well, i have developed all my web apps by using pure JSP only, i know this sucks, but i dont know how to start on using beans... what directory should i put them into... etc... what are the good programminmg practices/standards/techniques when incorporating beans in jsp???

    Standards are pretty loose, but generally, Beans hold a lot of the backend logic for your JSP. This can include data validation before entering into the database, database inserts, queries, data manipulation. The JSP should really only contain code that will retrieve the data from the bean and appropriately output it.
    As far as using them, you can use the <jsp:useBean> tag in your JSP. As long as the bean is stored somewhere that your classpath points to, you're all set. From then on, you can use it like any other object in your JSP.

  • How can I use java swing class in JSP page design

    I am a new developer in Java server pages. I want to use layout managers available in java swing classes to design the page. Can any body suggest me a way to do this.Is it possible if I do it with servelets.

    So, you want to use layout managers within your JSPs?
    The immediate answer is that "it isn't a good idea". The more considered answer is "tell us what you're up to".
    Are you coding all presentation within a traditional JSP? That is, HTML, customer or library tags and/java scriptlets?
    Or are you building your HTML within your servlets and sending that back to the browser?
    If the first, then you are probably better off either using explicit HTML tables (or the equivalent custom tags) or finding a library that you can use.
    If the second, you can write classes similar to the Swing layout managers that end up being a fancy way of putting elements into an HTML table. We have exactly that in my current environment. I wouldn't recommend rolling your own and I'd tend to leave all that presentation stuff to the JSP.
    In any case, you can't really use the Swing layout managers as they are for an entirely different pradigm.

  • How can I use java to handle the Schema

    Hello,everyone.
    These days,I'm researching how to use schema in java.
    For example,get the restrictions of one element and validate it in the xml.
    My question is: Is there any api to do this in java.Any java middleware will be ok.Please give the url to download it.
    If not any,is there some simular api in developing?
    Thank you.

    Validating with XML Schema tutorial
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXPDOM9.html

  • How can I use java with os x 10.8.3

    When I downloaded OS X 10.8.3 pogo can not find Javca on my computer.  How do I get Pogo to find java on my computer?

    I've faced the same problem. I've corrected it by reinstalling and re-enabling Java 6.
    First, I've installed the latest Java 6 (http://www.macupdate.com/app/mac/39490/apple-java).
    Then, I've re-enabled it, following the steps below:
    Open Terminal, located in the Utilities folder.
    Enter this command, then press the Return or Enter key:
    sudo mkdir -p /Library/Internet\ Plug-Ins/disabled
    Enter this command, then press the Return or Enter key:
    sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled
    Enter this command, then press the Return or Enter key:
    sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    To re-enable Java SE 6 Web Start, enter this command, then press the Return or Enter key:
    sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws
    After restarting the browser, voilà, it worked.

Maybe you are looking for

  • Hey! Im not seeing a transparent top of page menu bar on the desktop...

    whats up with that? a quick check uncovered nothing... Message was edited by: iShell

  • 23.98 capture problems

    I keep getting the same error at the end of the capture for "Advanced Pulldown Removal" "Breaks in VFR/Pulldown Cadence were detected in CLIP during the last capture attempt." Some clips work fine. Others I get this. Everything was filmed on a DVX-10

  • Try to access contacts from BB desktop software (PC)

    My BB Bold died and I am trying to get my contacts from desktop software from a backup file. I was told o needed to connect another BB cell to get the info. I have BB Storm and connected it to the PC...what do I do next?

  • What's Aperture doing when it's hidden?

    Idle curiosity more than anything else: if Aperture is running but hidden, Activity Monitor shows it using a steady .1 or .2 CPU. Then every ten seconds there is an uptick to somewhere between 1.3 and 3.0, then it drops back. There is also a blip in

  • Cannot do anything, even after resetting preferences etc

    As odd as it sounds, yes, I basically can't do anything in Photoshop. I can start it up, but it won't let me create a new image or open an existing one, no matter what I do. I've done preference resets, I've done full reinstalls, etc etc, and no luck