Is JavaBean supported in JDK1.1?

Does anyone have any idea about it?

Hi,
In the absence of a better reply, I think the JavaBean spec isn't specific to Java 1.2. Java Beans are really Java classes that conform to a particular set of rules for things like method names, and which generally implement Serializable. I think Java Beans predate Java 1.2.
Regards
Matthew

Similar Messages

  • Support for JDk1.3+ in J2ME

    Hi,
    Can somebody tell me if j2ME supports all classes written using JDk1.3 and JDK1.4? I mean if we write some java classes using Jdk1.3 will they run seamlessly on a PDA or mobile device that supports the latest version of J2ME? (By seamlessly i mean that we wont have to introduce any changes in them just because some classes of jdk1.4 are not supported by J2ME...)
    Tahir.

    I suppose that if you don't use classes that aren't supported by J2ME and are supported by JDK1.3+ you won't have a problem.
    Everething Depends on the J2ME technology you are using. For example if you are using Personal Java your classes should be compatible with JDK1.2 or less.
    Hope that helps...

  • Does anybody know how much support can jdk1.3 give for UTF8?

    I am having problem displaying spanish content using jdk1.3 internationalization. But the same program is working with jdk1.2.2. Does anyone know anything about how much support can jdk1.3 give for utf8 and i18n.
    I have submitted a bug to sun. Here is the bug id #4698270
    Please get me an answer, if you know one...

    i think all you have to do is use DataInputStream and DataOutputStream with readUTF() and writeUTF(String str)

  • Is JDMK 5.1 supported from jdk1.5.0 / Solaris10?

    Hi all,
    I have to upgrade a snmp agent based on jdmk 5.1 and i have to install it on Solaris10 with jdk1.5.0. The system is currently running on Solaris 9 with jdk1.4.2.
    I wonder if jdmk 5.1 support jdk1.5.0/Solaris10.
    From the jdmk 5.1 product page the issue is not clear: http://java.sun.com/products/jdmk/components.html
    thanks in advance,
    paolo_76

    Hi all,
    I have to upgrade a snmp agent based on jdmk 5.1 and
    i have to install it on Solaris10 with jdk1.5.0. The
    system is currently running on Solaris 9 with
    jdk1.4.2.
    I wonder if jdmk 5.1 support jdk1.5.0/Solaris10.Hi Paolo,
    Yes Java DMK 5.1 was released specifically to support jdk 1.5.0.
    You should refer to Java DMK 5.1 release notes - I believe the information
    is in there.
    If you have more questions regarding Java DMK I suggest you send them to
    the JDMK-FORUM. You can subscribe to the JDMK-FORUM from
    http://archives.java.sun.com/jdmk-forum.html
    (click on 'join or leave the list')
    I hope this will help you,
    Best regards,
    -- daniel
    From the jdmk 5.1 product page the issue is not
    clear:
    http://java.sun.com/products/jdmk/components.html
    thanks in advance,
    paolo_76

  • 10g AS Support for jdk1.5

    Hi ,
    I want to know whether jdk1.5.0 is supported on Oracle 10g Application Server or not

    10.1.3. the most accurate date we can say right now is H2CY05 - which means before the end of the year.

  • Any more support beyond jdk1.3.1_13 branch?

    Since one of our products still uses the jdk1.3.1_X branch, we wonder how long Sun will continue to support this branch beyond 1.3.1_13 in term of bug fix or functionality added before it forces everyone to switch to 1.4.x?
    Does anyone know?
    Thanks,

    According to the EOL article, once the product entered EOL (i.e. v1.3.1), the update release (i.e. v1.3.1_14) can come out on the next quarter. Is it right? Please clarify.
    In the update release, what kind of bugs are considered in this type of category? What about security issue? Does this consider in the update release?
    Thanks for your help

  • Advanced JavaBean support  in Oracle 9i Forms

    I am able to use javabean components in 9i forms,i am able to access methods properly.I need to change the look and feel (like color,font etc).The methods in the bean take Color,Font etc as parameters. How can i use the FBEAN_INVOKE method with parameters(like Color,Font) which are other than the basic datatypes(varchar2,number,boolean).

    Hello Frank,
    I was thinking the same but while going through the documentation related to 9i forms i came across folowing description.I have copied it from the 9inewfeatures.pdf,see below.
    Using FBEAN, you can programmatically register a JavaBean at runtime, get and
    set properties and execute methods, all from within PL/SQL, without having to
    write any extra Java code! Even if your JavaBean is complex and uses data types
    that cannot readily be translated from the basic PL/SQL types, the FBEAN
    interface is extensible using Java and can be tailored to your requirements.
    Now after going through this i tried to find out how it can be tailored for our requirements.but i could not find any explaination anywhere.
    I posted he query thinking if any one who has worked on this earlier, could guide me ,it would be realy nice.
    thanks for the reply
    Regards
    Sachin

  • Problems using Enhanced JavaBean Support

    I'm extremely new to extending Forms using JavaBeans, and clearly am doing something wrong. I've created a fairly simple class that exposes a single method. The class performs as expected, when run from my IDE, but I've had no luck extending a form with it. Here it is:
      package test;
      import oracle.forms.ui.VBean;
      import com.jacob.activeX.ActiveXComponent;
      public class MailMerge extends VBean {
        ActiveXComponent word;
        public MailMerge() {
        public void launchWord() {
          word = new ActiveXComponent("Word.Application");
          word.setProperty("Visible", true);
      }I have created a JAR containing this class, signed it, and placed it in <ORA10G_HOME>\forms\java. I created a simple form, with a single button and a bean area. Here is my code:
    WHEN_NEW_FORM_INSTANCE
      FBEAN.REGISTER_BEAN('MERGE_BEAN', 1, 'test.MailMerge');
    WHEN_BUTTON_PRESSED
      BEGIN
        FBEAN.INVOKE('MERGE_BEAN', 1, 'launchWord');
      END;The form loads without errors, but when I press the button, nothing happens. Part of my confusion is owing to the fact that my bean is intended to present no graphic output. For this reason, I did not implement the IView interface -- I've merely extended VBean (which implements IView, albeit presumably with stubs.)
    I've appended the JAR to the CLASSPATH entry in DEFAULT.ENV, and also tried appending MailMerge.jar to the ARCHIVE_JINI entry in FORMSWEB.CFG. I am left to conclude that I'm missing something more fundamental, despite having read what's available in Form Builder's Online Help. Most of the other relevant instructional information I've found is locked up in viewlets that seem always to crash (if they run at all.)
    Could anyone spare a clue, because I'm obviously clueless on this occasion!
    Eric Adamson
    Lansing, Michigan

    I've found some information that looks helpful, in the form of a blog entry found at:
    http://forms.pjc.bean.over-blog.com/article-3234108.html
    The entry mentions that the bean cannot be registered immediately within the WHEN_NEW_FORM_INSTANCE trigger, and shows how to delay this slightly using a timer.
    Special thanks to Francois Degrelle for the blog entry linked above, and to Frank Nimphius, for the blog entry that pointed me there! :)
    Eric Adamson
    Lansing, Michigan

  • Using JavaBeans in a JSP Page

    I wan't to know the advantages and disadvantages of using JavaBeans in a JSP page.
    Like for example general traditional approach for a database connection
    is to create a connection and access the database from that and close the connection
    at the end of the page, instead of the If I use a common connection bean for making connections,
    is that suggestable and then when should i close the connection then.
    One good application of JavaBeans is using a Set and Get methods for form fields in
    a registration form to get back the values.
    So may i know how best can we use the JavaBeans other than this application.
    ThanX in advance,
    kiran
    [email protected]

    I believe putting processing and query code in the JavaBean was one of the reasons for putting JavaBeans support in JSP in the first place. The original idea was to use the setXXX methods to populate the bean's data from the posted form, then do the processing (or database query), then use the getXXX methods to display the bean's data.
    Efficiency-wise, it's exactly the same as putting all the code in-line in the JSP page (actually, it might be a bit slower, because of the reflection required to do it.) Code-wise though, it makes the JSP easier to read.
    Of course, we have EJBs now too, which tie very closely and can match database queries almost one-to-one, one way to incorporate these is inside the JavaBean you reference from the JSP, another way from a servlet you redirect the JSP to, etc...

  • Does jmf2.1.1 really support rtsp?

    where can i find the related examples?

    Hi,
    Sun's posted the third beta of the Java Media Framework 2.1.1 on the Java Developer Connection (registration required). New features in beta 3 include:
    The JMF Customizer has been added to the JMF performance packs.
    The QuickTime file writer now creates streamable QuickTime files
    Support for UNC paths such as file://unixmachine/home/videouser/video.mov
    RTP Connector: a new interface that allows developers to connect JMF/RTP to their own and possibly proprietary transport services.
    RTSP Processor
    A new control that provides a handle on RTPManager objects to retrieve RTP statistics from the RTSP Player
    The RTSP Player can handle multiple audio and video streams
    JAWT support for jdk1.3+
    Also please refer this URL for RTSP Documentation with examples
    http://java.sun.com/products/java-media/jmf/2.1.1/support-rtsp.html
    http://java.sun.com/products/java-media/jmf/2.1.1/documentation.html
    I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • JDeveloper Build Error with JDK1.3beta

    Dear JDev Team,
    I have a project that uses SQLJ and has been compiling fine with both JDK1.2.2 and 1.3beta. This morning it stopped working. There have been no great code changes. Once it fails using 1.3beta it will also fail using 1.2.2.
    There error message in the window is as follows. Your help would be very much appreciated, as this project cannot be built.
    Many thanks,
    Richard
    JniPortal for D:\Program Files\JDeveloper 3.0\java1.2\jre\bin\ferrari\jvm.dll reported
    InnerClasses attribute
    java.lang.IncompatibleClassChangeError: InnerClasses attribute
    int sqlj.runtime.profile.util.CustomizerHarness.customizeProfile(sqlj.runtime.profile.util.ProfileIOContext)
    void oracle.jdeveloper.sqlj.TranslatorInternal.customizeProfiles(borland.compiler.interfaces.Log)
    void oracle.jdeveloper.sqlj.TranslatorSystemImpl.customizeProfiles(borland.jbuilder.jipcbmj.portal.ComLog)
    void oracle.jdeveloper.sqlj.TranslatorSystem_JavaDispatch.invoke(int, borland.javaport.JavaCallStack)

    Richard,
    SQLJ is not supported with JDK1.2 in JDev 3.0:
    (from the release notes)
    Using SQLJ under JDK 1.2
    The 8.1.5 SQLJ version distributed with this release of JDeveloper only supports JDK 1.1.X, it does not run under JDK 1.2. A future version of SQLJ will support JDK 1.2
    Having said that it looks like you have it working anyway :-)
    There have been no great code changes. Once >it fails using 1.3beta it will also fail >using 1.2.2.Try the following :
    -Locate the output directory from Project|Project Properties
    -Close JDeveloper
    -Go to the output directory and delete all the classes and profiles related to your SQLJ project
    -Restart JDev and recompile
    Hope this helps.
    Regards,
    Arun
    null

  • 10g and jdk1.5

    1) is it possible to use the generic compiler with 10g preview ?
    2) will the release version have some support for jdk1.5 ?
    I think it could attract many people to 10g to have support for jdk1.5 VERY soon. I don't want to wait several months like I did for jdev to support jdk1.4.
    The release of 10g is close to the release of jdk1.5 (in beta). A great opportunity.

    According to javalobby, jdk 1.5 early access is for this week.
    I'd like to play with it in my holiday in end of december.
    "On a completely separate note, we have been receiving a good deal of email lately asking for details on the upcoming early access release of the preliminary J2SE 1.5 binaries. I spoke today with the product line manager at Sun directly responsible for this, and she confirmed that they are pushing as hard as they can to get the release out the door for Javalobby members. The latest word is that the target date is December 15, but that in no case will it be later than December 22 when Sun begins its holiday break. The purpose of this early access release is for Javalobby members to help provide valuable testing and uncover and remaining bugs in the J2SE 1.5 code, so please keep in mind that this is PRE-RELEASE code and that you cannot expect it to be perfect. I'm excited that Sun is making this opportunity available exclusively to Javalobby members, so I hope you'll make the most of it and help improve Java in the process."

  • HELP:: jsse1.0.3 problem with jdk1.3.1(java.lang.NoClassDefFoundError)

    Hi,
    I am now working with jsse1.0.3 and jdk1.3.1(I can not use the new jdk version, because the system I developed is based on jdk1.3.1). what makes me strange is that I can compile my program without problem, but when I run it, it always report error.
    my source code is :
    import java.security.*;
    import javax.net.ssl.*;
    System.out.println("Classpath ->"+System.getProperty("java.class.path"));
    SSLSocketFactory factory = (SSLSocketFactory)SSLSocketFactory.getDefault();
    SSLSocket SSLcontrol_connection = (SSLSocket)factory.createSocket(ftp_server, 990);
    SSLcontrol_connection.startHandshake();
    ..........the erroe message is:
    Classpath ->O:\hpovams_dev_sd40\sd\lib\JClark.zip;O:\hpovams_dev_sd40\sd\lib\jcert.jar;O:\hpovams_dev_sd40\sd\lib\jnet.jar;O:\hpovams_dev_sd40\sd\lib\jsse.jar;..........
    java.lang.NoClassDefFoundError
    at javax/net/ssl/SSLSocketFactory.a (DashoA12275)
    at javax/net/ssl/SSLSocketFactory.getDefault (DashoA12275)It is not a classpath problem as I have included the 3 jar files into classpath,.
    I also tried to add
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());before create SSLSocketFactory, then it report that
    java.lang.NoClassDefFoundError
         at com/sun/net/ssl/internal/ssl/Provider.<init> (DashoA12275)My developing GUI is eclipse 3.1, and the OS is winXP.
    Please give me some help, thank you very much.

    oh. I have found the problem. Acturally, the running enviroment is under microsoft j++, so it could only support jdk1.1, but jsse only support from jdk1.2, so that's the problem why it said that no class found.
    Now I only found that oracle has a solution for SSL which support
    jkd1.1(SUN's jsse package only support from jdk1.2). It described the
    method and sample code in Oracle Advanced Security Administrator's
    Guide Release 2 (9.2)
    (http://www.stanford.edu/dept/itss/docs/oracle/9i/network.920/a96573/a...)

  • Compatability of jdk1.3 with j2me

    Hi,
    Is there any compatability problem(jdk1.3 with j2me)?
    will j2me support the jdk1.3?
    Advanced Thanks
    Audippa

    Can any body help on knowing of the compatability of jdk1.3 with j2me
    how can we know the compatabilty?
    is there any way to know the compatability?
    pls help on this
    Thanks
    Audippa Naidu.M

  • Unable to download images in a swing applet (1.3.1) behind proxy

    Hi
    One of my client have a proxy server and firewall and when they try to access my webserver
    then all the AWT applet are downloaded and rendered on client properly. However, the swing applet written
    using JDK 1.3.1 is downloaded and rendered but it doesn't display anything properly as images
    are not down loaded. I have used media tracker to add images to it like oMediaTracker.addImage( oImage, index );
    and then oMediaTracker.waitForAll();
    Java console display at client looks as follows:
    Java(TM) Plug-in: Version 1.3.1
    Using JRE version 1.3.1 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\toy
    Proxy Configuration: no proxy
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Applet Initialization start...
    Applet Image Initialization start...
    Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
    Opening      http:MyServer/24/x.gif
    Connecting     http:MyServer/24/x.gif with no proxy
    Connecting
    http:MyServer/24/x.gif with cookie "ASPSESSIONIDGQGQQVWC=DLNBDAOABFANEPJFFIGOOIPG;
    JSESSIONID=25Ais2tF1eBkevUhAa2akocfShzNdzyL7yC1I7UhJl7Z6BLZrnQK!
    -1149265879"
    Opening      http:MyServer/40/y.gif
    Connecting      http:MyServer/40/y.gif with no proxy
    Connecting      http:MyServer/40/y.gif with cookie "ASPSESSIONIDGQGQQVWC=DLNBDAOABFANEPJFFIGOOIPG;
    JSESSIONID=25Ais2tF1eBkevUhAa2akocfShzNdzyL7yC1I7UhJl7Z6BLZrnQK!
    -1149265879"
    Opening     http://MyServer/sun/beans/infos/PanelBeanInfo.class
    Connecting     http://MyServer/sun/beans/infos/PanelBeanInfo.class with no proxy
    Connecting http://MyServer/sun/beans/infos/PanelBeanInfo.class with cookie "ASPSESSIONIDGQGQQVWC=DLNBDAOABFANEPJFFIGOOIPG;
    JSESSIONID=25Ais2tF1eBkevUhAa2akocfShzNdzyL7yC1I7UhJl7Z6BLZrnQK!
    -1149265879"
    Opening http://MyServer/java/awt/ContainerBeanInfo.class
    Connecting http://MyServer/java/awt/ContainerBeanInfo.class with no proxy
    Connecting http://MyServer/java/awt/ContainerBeanInfo.class
    Client machine tries to access these images but i never receive a call at web server end when i see
    IIS log.
    CLient environment:
    -Windows 2000/XP/NT
    -Internet explorer 6.0 SP1 or IE 5.5 SP2
    with connection->LAN Setting->Use Automatic configuration script(only checked)
    -Java Plugin configured like proxies->Use Browser Setting
    -JDK 1.3.1 plug in at client(downloaded and Installed automatically on demand)
    -Object tag used to download applet and plugin
    -Firewall and proxy(i don't know about vendor)
    My webserver environment
    Windows 2000/iis 5.0 with anonymous authentication and
    cache-control header set to no-store (so that proxy doesn't cache anything)
    QUESTIONS:
    ~~~~~~~~~
    Q.1. When i try from home network that has a proxy then everything works fine. At client site everything except
    image download works fine. I mean jars are downloaded and i can see anything drawn using JAVA API.
    When i try from home i see following java console trace
    Java(TM) Plug-in: Version 1.3.1
    Using JRE version 1.3.1 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\wuko
    Proxy Configuration: Automatic Proxy Configuration
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Trace level set to 5: basic, net, security, ext, liveconnect ... completed.
    Applet Initialization start...
    Applet Image Initialization start...
    Opening http://MyServer/24/connec.gif
    Connecting http://MyServer/24/connec.gif with proxy=197.168.1.100:808
    Connecting http://MyServer/24/connec.gif with cookie "ASPSESSIONIDQQGQQCYU=GBJFAOABCJFPDMGFHEKLDACA; JSESSIONID=26yu5m1b4upVuXoAoDmtMbWXQmetQpyzqjFANszo9vFubujT4qGX!-1149265879"
    Opening http://MyServer/24/cool.gif
    Connecting http://MyServer/24/cool.gif with proxy=197.168.1.100:808
    Connecting http://MyServer/24/cool.gif with cookie "ASPSESSIONIDQQGQQCYU=GBJFAOABCJFPDMGFHEKLDACA; JSESSIONID=26yu5m1b4upVuXoAoDmtMbWXQmetQpyzqjFANszo9vFubujT4qGX!-1149265879"
    etc
    I can't set the plugin at client to use automatic script just like IE browser uses. This option is not supported in JRE1.3.1. Looks to be supported in JRE1.4.1. My client doesn't want to set manual proxy ip and port in plugin as they don't want to reveal this info to everyone within the company for security reason.
    Q.2. Why some classes like PanelBeanInfo.class, JAppletBeanInfo.class are downloaded
    from my server while it doesn't exist at my webserver. Any thing stupid IE or plugin doing
    at client. Any Idea?
    Thanks in advance for any help.
    Ratan

    Thanks to Mike and other friends who already replied on this topic.
    Here is my research analysis:
    Answer to Question 1:
    ~~~~~~~~~~~~~~~~~~~~~
    The solution is to bundle all the images with JAR. Bundle with jar whichever needs it. However, it might require duplicacy.
    Image img = null;
    try
    img = Toolkit.getDefaultToolkit().getImage(getClass().getResource(fileName));
    catch (Exception e) { }
    In this case make sure that you have image at the same location where you access it. For example if you have to access an image in package class com.awt.ui.MyClass then your image should also be at location ..\com\awt\ui
    Note: It will require image duplicacy in your JAR but it solves the problem. It gives the advantage of fewer download from server.
    Answer to Question 2:
    ~~~~~~~~~~~~~~~~~~~~~
    IE treats applet as an active-X and try to look for these classes in your JAR. SUN has stopped its support in JDK1.3.1 and plus. What one can do is to create dummy classes with these names and bundle it with your JAR. You have to create these dummy classes if you enable Basic authentication on your web server then browser will try to look for these classes on the server and continue to prompt you for login and password. It might bother your customer un-necessarily to enter login and password too many times prompted by plug-in (plug in).
    --Ratan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Can I backup an external hard drive using time machine?

    I've got a 2008 Mackbook that's getting very full of photos and music - 75% of the HDD.  I want to move it all onto an external Toshiba HDD that's formatted to MS-DOS (FAT 32).  Before I moved it all, I checked to see if time machine would back up th

  • Swf not working in project

    I have a as3 project that contains as3 widgets and as3 swfs. All was working great two weeks ago. At that time, I stopped work on it to work on something else. I came back to it today and there seems to be some type of corruption. If I take out the s

  • Connecting an amp with XLR outputs to GB

    Hi, I'm new to the forum, to Mac world and to recording as well, so please be patient... I'm trying to find out what would be the best way to record an amp guitar into GB. Right now I'm using the amp XLR right and left outputs directly into the Mac's

  • Cannot upload photo into my 30gb ipod..

    hi...i got a problem when im trying to upload my photo into my 30gb ipod video..it turns up to have an error and this will appears averytime i try to upload my photo into my ipod:- "the ipod cannot be updated.the disk could not be read from or writte

  • Use e-mail as uid for membership mode

    Hi there, Has anyone set up iPlanet Portal Server to use a users E-mail address as his uid when using membership mode in the portal. If so can you post some details. Thanx