About Netbeans 6.5 and Java EE 5 SDK

Hi, I have already installed JDK 6u11 (with JRE) and Netbeans 6.5, do I still need to install J2EE SDK if I want to develop J2EE programs?
Thanks!

That message is true if you did not install the bundled tomcat server that comes included with NB6. Otherwise you will have to start tomat up separately with the tomcat6.exe and add a NEW tomcat server to NB.

Similar Messages

  • NetBeans 6.1 and Java WebServer 7 problem under OpenSolaris

    Hello, I have a big problem with NetBeans 6.1 (all upgrade installed) and Sun Java Webserver 7.0 (release 7.0U3 B06/16/2008 10:24); running under OpenSolaris snv_101a (2008.11 RC2).
    The web server is installed into /opt/webserver7/ and run fine, but when I try to add it as a server under NetBeans 6.1 I receive the error about +/opt/webserver7/+ isn't a correct directory.
    Any hint?
    PS: the NetBeans plugin for the WebServer version is 1.6

    Can you report it in NetBeans mailing lists [http://www.netbeans.org/community/lists/top.html|http://www.netbeans.org/community/lists/top.html] and [http://forums.netbeans.org/|http://forums.netbeans.org/] as well?

  • About Setup the iText and java

    Hi !!
    I need to set up the iText BUT I try and try I still can not get it done.
    I post This topic hope that some one will help me .
    where should i put me jar file to ??
    where to set the classpath and what to set ??(Please give me example)
    Where should I put my java file if I using the Textpad to compile the java file ??
    where can i find more information about the iText ??(url)
    Please help me .

    The web site did not give much information about setup the iText.
    What i need is the step to setup the iText.
    Thanks....
    is there any forum about iText ??

  • A silly question about oracle.sql.timestamp and java.sql.timestamp

    Hi,
    I'm looking at a method that takes objects of type Object and does stuff if the object is really a java.sql.timestamp. If it is not then an error is flagged. In my case it flags an error when an object of type oracle.sql.timestamp is passed to it. Not really entirely comfortable with java (i'm still learning it), here's my stupid question :- why isn't oracle.sql.timestamp a subclass of java.sql.timestamp? Also in various books it indicates that java.sql.timestamp maps to oracle.sql.timestamp. Does that mean you have to physically do the mapping:
    i.e.
    java.sql.Timestamp t = new Timestamp( new oracle.sql.Timestamp( CURRENTTIMESTAMP ).timestampValue() );
    or is there something else to it.
    Thanks.
    Harold.

    The best forum for this is probably Forum Home » Java » SQLJ/JDBC
    Presumably you are refering to oracle.sql.TIMESTAMP. While this is intended to (and does) correspond to java.sql.Timestamp it can't be a subclass because it needs to be a subclass of oracle.sql.Datum.

  • About the Mobile Agent and JAVA.

    Is it possible to design a simple mobile agent system by using RMI or by using the EJB, and so on?
    Although there are some platform such Aglet and voyager. But I don't hope to do our project on them. Is the EJB a good choice for a Mobile Agent systems?
    I just want design a little demo program based on MA. and it is used to operate the distributed database system,which may be in a LAN enviorment.
    Are there any other ways to build such a mobile agent systems?

    I want to build a LAN enviorment with 3 or 4 computers, and make the "mobile agent" have the ability to move from one computer to another one by itself. It should access the database in different computers and feedback the information to client which send the request.
    If I hope to build up such an enviorment, what software would be the choices? For instance win2000, jdk14,tomcat, apache, oracle,and so on?

  • GemPlus GemPC430 USB and Java

    Hi all.
    I guess this is a good place to send a question I have about GemPlus GemPC430 USB and Java.
    I have installed the USB hardware and my Windows 2000 (with J2SE 1.4.1) recognizes it. The problem I've got is that I have a nice card with (I guess) a Secure Certificate in it and I have to read it and to operate with it. And I don't know how.
    Even, the problem grows because I have to access the reader/card from an applet.
    I've been taking a look into OpenCard.org but I'm still lost.
    Any idea where to start from?
    Any sample of code that can help me?
    Thanks in advance.
    Arturo Garcia

    You should contact Gem+.
    They should have provided a PKCS 11 implementation for PKI management. ( Keep in mind this might require a Microsoft Cryptographic Service Provider to exist on your machine )
    If they don't have a PKCS 11 implementation, you need to ask them the APDU to get the cert. This would require you to perform all validation on that cert as well.

  • Java ME Platform SDK - S60 Emulator Problem

    Hi Everyone!
    I am new to S60 development. I searched the forum, and some other discussion forums but could not find any solution to my problem (If there is one in this forum, sorry about that).
    I installed Java ME Platform SDK 3.0 Early Access. I also installed Java SDK for S60-FP1, and added this platform to my IDE with no problems.
    The problem is, I can write and execute my code on S60 emulator, but Java IDE has got this annoying exception blinking on the bottom right side saying: "java.lang.IllegalArgumentException: Device S60Emulator not registered!". As I said, I can run the application, but I cannot debug because of some exceptions!
    Why this can be happening, can it be a misconfiguration or something?
    Thank you all!

    Did you check Release Notes of the SDK? I've seen it once - if memory serves it lists quite a lot of known bugs.
    Maybe the problem you describe is listed there too... and if you're really lucky then description may even mention some workaround for it.

  • Give me description about JAVA Proxy Runtime and JAVA Proxy Server

    Give me description about JAVA Proxy Runtime and JAVA Proxy Server with some examples.

    Hi,
    Java proxy runtime :
    Using the Java proxy runtime you can receive messages or send messages to the Integration Server.
    This will help you
    http://help.sap.com/saphelp_nw04/helpdata/en/64/7e5e3c754e476ee10000000a11405a/frameset.htm
    Java proxy server :
    The connection to the Integration Server by using the Java proxy runtime.
    This will help you
    http://help.sap.com/saphelp_nw04/helpdata/en/87/5305adc23540b8ac7bce08dbe96bd5/frameset.htm
    Regards
    Agasthuri Doss

  • Question About Xerces Parser and Java  JAXP

    Hi,
    I have confusion about both of these API Xerces Parser and Java JAXP ,
    Please tell me both are used for same purpose like parsing xml document and one is by Apache and one is by sun ?
    And both can parse in SAX, or DOM model ?
    Is there any difference in performane if i use xerces in my program rather then JAXP, or is ther any other glance at all.
    Please suggest some thing i have and xml document and i want to parse it.
    Thanks

    Hi
    Xerces is Apaches implementation of W3C Dom specifiacation.
    JAXP is a API for XML parsing its not implementation.
    Sun ships a default implementation for JAXP.
    you have factory methods for selecting a parser at run time or you can set in some config file about what is the implementaion class for the SAXParser is to be chosen (typically you give give the class file of xerces sax parser or dom parser etc..)
    go to IBM Developerworks site and serch for Xerces parser config. which have a good explination of how to do it.
    and browse through j2ee api .may find how to do it.

  • Doubts about HTTPS requests and Java proxy

    Hello,
    I need help about SSL connections and Java.
    I'm developing a HTTP/S proxy with Java. To test my proxy, I use Firefox. I configure the proxy option in the browser. The proxy works good with HTTP requests, but with HTTPS requests doesn't work and I don't know why.
    I explain the steps that I do for a HTTPS request:
    * The browser sends a CONNECT message to the proxy.
    I check that the proxy receives the CONNECT request correctly.
    * The proxy establish a secure connection with the content server.
    I use an SSLSocket to connect with my content server, and the SSL handshake is succesful.
    * The proxy sends a 200 HTTP response to the client:
    I send
    HTTP/1.0 200 Connection established[CRLF]
    [CRLF]
    to the application client (Firefox)
    * The proxy sends/receive data to/from Firefox/content server
    I have a Socket between Firefox and my proxy, and a SSLSocket between my proxy and my content server. I use two threads to communicate the client and the server.
    Java code:
    //Thead server-->proxy-->application(Firefox)
    ThreadComm tpa = new ThreadComm(bis_serverSSL, bos_app);
    //Thread application(Firefox)-->proxy-->server
    ThreadComm tap = new ThreadComm(bis_app, bos_serverSSL);
    The "tpa" thread reads from the SSLSocket between the proxy and the server and sends data to the Socket between the proxy and Firefox.
    The "tap" thread reads from the Socket between the proxy and Firefox and sends data to the SSLSocket between the proxy and the server.
    This is the class ThreadComm:
    public class ThreadComm extends Thread{
        private BufferedInputStream bis = null;
        private BufferedOutputStream bos = null;
        public ThreadComm(BufferedInputStream bis, BufferedOutputStream bos) {
            this.bis = bis;
            this.bos = bos;
        @Override
        public void run() {
            int b = -1;
            FileOutputStream fos = null;
              do {
                   try {
                        b = bis.read();
                        System.out.print((char) b);
                        fos.write(b);
                        bos.write(b);
                        bos.flush();
                   } catch (Exception ex) {
                        Logger.getLogger(ThreadAplicacionProxy.class.getName()).log(Level.SEVERE, null, ex);
                        //b=-1;
              } while (b != -1);
        }But this doesn't work and I don't know why.      
    I have an Apache server with the mod_ssl enabled as content server, I can send requests (with Firefox) to the port 80(HTTP request) and 443(HTTPS request) without use my proxy and it works. If I use my proxy, HTTP request works but with HTTPS request doesn't work, I look the log of Apache and I see:
    [Tue Apr 27 17:32:03 2010] [info] Initial (No.1) HTTPS request received for child 62 (server localhost:443)
    [Tue Apr 27 17:32:03 2010] [error] [client 127.0.0.1] Invalid method in request \x80\x7f\x01\x03\x01
    [Tue Apr 27 17:32:03 2010] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
    [Tue Apr 27 17:32:03 2010] [info] [client 127.0.0.1] Connection closed to child 62 with standard shutdown (server localhost:443)
    Why it say? Invalid method in request \x80\x7f\x01\x03\x01 , my proxy sends the data that the Firefox sends.
    I think than I have follow the explanations of [1] but doesn't work, I have problems in implementation in Java but I don't know where.
    I appreciate any suggestions.
    Thanks for your time.
    [1] http://www.web-cache.com/Writings/Internet-Drafts/draft-luotonen-web-proxy-tunneling-01.txt

    ejp, I have checked the socket between the proxy and server and ... You are right! , I was using the port 80 instead of the 443 (incredible mistake!, I'm sorry). I was convinced that I was using the port 443... Well, is a little step, but I still have not won the war :)
    If I see the log files of Apache, We can see that something goes wrong.
    localhost-access.log
    >
    127.0.0.1 - - [04/May/2010:17:44:48 +0200] "\x 80\x 7f\x01\x03\x01" 501 219
    >
    localhost-error.log
    >
    [Tue May 04 17:44:48 2010] [info] Initial (No.1) HTTPS request received for child 63 (server localhost:443)
    [Tue May 04 17:44:48 2010] [error] [client 127.0.0.1] Invalid method in request \x80\x7f\x01\x03\x01
    [Tue May 04 17:44:48 2010] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
    [Tue May 04 17:44:48 2010] [info] [client 127.0.0.1] Connection closed to child 63 with standard shutdown (server localhost:443)
    >
    I think that this happens because Apache receives the data without decrypt, this is the reason because in the log we can see the "Invalid method in request \x80\x7f\x01\x03\x01". This supposition is true?
    ejp, you say that the "Termination is quite tricky." I have changed my code following yours suggestions (using the join and the shutdownOutput) but the threads don't die.
    I explain you what I do:
    (in time 1)
    I launch the thread (threadFirefoxToApache) that reads data from Firefox and sends to Apache.
    I launch the thread (threadApacheToFirefox) that reads data from Apache and sends to Firefox.
    (in time 2)
    threadFirefoxToApache sends the firts data to the server.
    threadApacheToFirefox is waiting that the server says something.
    (in time 3)
    threadFirefoxToApache is waiting that Firefox says something.
    threadApacheToFirefox sends data to Firefox.
    (in time 4)
    threadFirefoxToApache is waiting that Firefox says something.
    threadApacheToFirefox is waiting that Firefox says something.
    and they are waiting... and never finish.
    In time 2, these first data are encrypted. The server receives these data and It doesn't understand. In time 3, the server sends a HTTP response "501 Method Not Implemented", here there is a problem because this data must be encrypt. According to the documentation that I read, the proxy cannot "understand" this data but I can "understand" this data. What's happen?
    Firefox encrypt the data and send to the proxy. This It's correct.
    The proxy encrypt the data another time, because I use the SSLSocket to send the data to the server. Then the server receives the data encrypted two times, when decrypt the data gets the data encrypted one time. And this is the reason why the server doesn't understand the data that sends Firefox. It's correct? May be.
    Then If I want that the server receives the data encrypted one time I need to use the socketToServer, It's correct?
    I will supposed that yes. If I use the socketToServer, the proxy doesn't understand nothing, because the data received from the socketToServer are encrypted (I only see simbols), but the Apache log says that there is a problem with the version? (If I use the socketToServer the threads die)
    >
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 read finished A
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write change cipher spec A
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 write finished A
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1760): OpenSSL: Loop: SSLv3 flush data
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1756): OpenSSL: Handshake: done
    [Tue May 04 19:55:42 2010] [info] Connection: Client IP: 127.0.0.1, Protocol: TLSv1, Cipher: RC4-MD5 (128/128 bits)
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1817): OpenSSL: read 5/5 bytes from BIO#29bd910 [mem: 29ea0a8] (BIO dump follows)
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1750): -------------------------------------------------------------------------
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1789): | 0000: 80 7f 01 03 .... |
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1793): | 0005 - <SPACES/NULS>
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_io.c(1795): ------------------------------------------------------------------------
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
    [Tue May 04 19:55:42 2010] [info] [client 127.0.0.1] SSL library error 1 reading data
    [Tue May 04 19:55:42 2010] [info] SSL Library Error: 336130315 error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number
    [Tue May 04 19:55:42 2010] [debug] ssl_engine_kernel.c(1770): OpenSSL: Write: SSL negotiation finished successfully
    [Tue May 04 19:55:42 2010] [info] [client 127.0.0.1] Connection closed to child 63 with standard shutdown (server localhost:443)
    >
    What option is the correct? I need use the SSLSocketToServer or socketToServer to send/read the data to/from the server?. Use the SSLSocket has sense because the data travel in a secure socket, but use the Socket also has sense because the data are encrypted and they are protected by this encription. It's complicated...

  • Netbeans and Java compilation

    Hi all,
    I got a number of files done by Netbeans but when I use those file for compilation in normal Java (it means not compiling in netbeans but in Java), i got some problem with the code automatically generated by netbeans.
    can anyone help me a solution for the chance of compiling my files (all of them still .java) in normal Java (javac ...) because if not, i will have to do again all the code for UIs :(
    thanks all

    thanks for reply.
    when i try to compile in normal command prompt, the part relating to "position" of each component in the frame generated by Netbeans appear to be errors, e.g. "package org.jdesktop.layout does not exist" which means to me that this would be a only-in-netbeans library.
    is there any way for me to link to a specific classpath to get this compilable ?
    and, by the way, i have one more question raised from Netbeans.
    I try to read a .txt (text ) file in Netbeans by placing that file into the "src" folder but netbeans said "FileNotFoundException" and when i try to read the properties of text file, it states "unrecognized file". any idea how to get Netbeans recognise this file???

  • About Java mapping and java proxy

    Hi
    Iam new to Xi and basically iam an ABAPER.When iam dooing mappinps or proxies i cant able to understand the java pari cant (javamapping and java proxies) .I need some notes on java mapping and java proxy which is easy to do.And why do we use this java mapping or java proxy particularly when we r having abap mappipng and abap proxy.
    thanks in advance

    Hi,
    refer
    Java Mapping
    SAP Network Blog: Java Mapping (Part I)
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    Java Mapping in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+mapping&adv=false&sortby=cm_rnd_rankvalue#
    Runtime Environment (Java Mappings) (SAP Library - Partner Connectivity Kit)
    http://help.sap.com/saphelp_nw04/helpdata/en/bd/c91241c738f423e10000000a155106/frameset.htm
    Java Mapping (SAP Library - Partner Connectivity Kit)
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    SAP Network Blog: Testing and Debugging Java Mapping
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    SAP Network Blog: Implementing a Java Mapping in SAP PI
    /people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi
    "JAVA MAPPING", an alternate way of reading a CSV file
    /people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
    SAP Network Blog: XI Java Mapping Helper (DOM)
    /people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    Java Proxy
    Java Proxy Objects (SAP Library - SAP Exchange Infrastructure)
    http://help.sap.com/saphelp_nw04/helpdata/en/c5/7d5e3c754e476ee10000000a11405a/frameset.htm
    Accessing Active Directory through Java Proxy on SAP Exchange Infrastructure 3.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10716e9f-23d7-2a10-8c8c-d2665615f8fc
    Thanks
    Swarup

  • I just downloaded adobe and java and now when  I browse i keep getting about trusting the website

    I just downloaded Adobe and Java and now when I use Safari I keep getting a notice that the website is blocked .
    I am not  sure if I installed these applications correctly. Can I un-install them?

    You can't install either of those on an iPad.

  • Troubleshooting Enterprise Beas, Netbeans 5.0 and Creator 2

    Hi Gurus. I am using Netbeans 5.0 to develop Enterprise Beans and Creator 2 to consume the beans, as a database I use Oracle 10g xe and Sun Application Server 8.2 as a App. Server (Not the one embedded in creator). I successfully created an enterprise bean with methods that create and get data in Netbeans 5.0 and also I am able to test them with a servlet without troubles. I consume the enterprise bean in creator, then I use it in a web page, after that I deployed into a remote server (8.2) all the application, but when I try to insert or get the data I get this Exception:
    com.sun.rave.web.ui.appbase.ApplicationException: #{Ventas$Clientes.buttonNuevo_action}: javax.faces.el.EvaluationException: java.lang.RuntimeException: RemoteException occurred in server thread; nested exception is:
         java.rmi.RemoteException
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:302)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    Am I doing something wrong in creator? did I miss a step configuring the bean? I followed the instructions in all the tutorials available to add and use Enterprise Beans. if I am able to use a enterprise bean in Netbeans 5.0 to insert and obtain data, Why I am not able to use it in Creator? I believe that I am so close to get the things working but that last step is killing me. I will appreciate any help. Thanks. (Sorry about grammar!!!!)

    Thanks for your help man. That was a very good advice. I rebuild everything in the application server bundled in creator, debugged and the the real problem appeared. I didn't take care about the size of data that I was willing to store in the jsp page. I was using toString() method to get the data from the text fields and after debugging I figured out is needed getText().toString() to get data form the fields, everything was out bout bounds. Now the application works fine. You save my life!!! How do I assign you the Duke dollars?
    Message was edited by:
    Patricio

  • NetBeans - Cannot create new Java project

    Hello all,
    I've been trying to create new Java projects in NetBeans 6 for about a week now and it just won't work. First, I receive a nullPointerException when I start the software. Then, I come to my home screen, head to File ->New Project. I'm able to specify the Java Project type. When I want to specfiy the Name and Location of the file, I get "Project Folder exists and is not empty", but the folder never existed at all. It's as if the prompt creates the folder then verifies the folder exists and repeats that error message over and over; even if I change the file name. I've reinstalled the software and the JDK many times but, I' still can't seem to get working.
    Any help would be appreciated.
    Thanks
    -Pengu

    Delete your old downloads of your JDK and NetBeans, then Download a new copy of the JDK and NetBeans, uninstall what you have go and delete all of the folders that were involved in the original install and then reboot.
    Once you have done this, then reinstall from your freshly downloaded copies.
    Windows does not yield it's ruined programs very easily--you just have to remove every last bit of it and start again. If the above does not work, then it may be time to go int and edit the registry to remove all reference to the JDK and NetBeans.

Maybe you are looking for