JBuilder 8 and J2EE, what adjustments do I make?

I have JBuilder 8 SE and I am trying to dabble in Servlets and eventually EJB. I was told that I need to add the location of the servlet.jar to my CLASSPATH environment variable to allow JBuilder to compile Servlets, is this correct and do I have to do anything else with evironmental variables to achieve full IDE functionality with J2EE?
thanks,
Rob

it depends on what you mean by "full functionality"...
Instead of using servlet.jar, use the j2ee.jar. This will allow you to compile any classes that make use of J2EE classes (ejb, servlet, jms, jca, etc.)
However, your ejb/servlets will not run as they need a container to run in. Generally this container is implemented by an app-server. To actually deploy your code and have it work you'll need to use an app-server.
A few app-servers are:
Weblogic (www.bea.com)
Websphere (www.ibm.com)
JBoss (www.jboss.org)
Tomcat (go to the j2ee tutorials on this site)
You'll have to download, install, and configure an app-server. Then you'll have to deploy your code in the app-server (the steps vary significantly by app-server). Finally you'll be able to run your code.

Similar Messages

  • My iPhone 4s's wifi button is no longer touchable prohibiting me from connecting to wi-fi. How do I resolve this? What adjustments should I make?

    Hi!
    My iPhone 4S's wi-fi icon is greyed out, which means I can no longer connect to wi-fi. How do I resolve this?

    Greyed out means your WIFI chip has bit the big one.
    You can either have it repaired at a local shop.
    Pay Apple to exchange it out of warranty (should they see fit to do so).
    Order a new chip off ebay and do the work yourself.
    Sell your iPhone and get a new one.
    Or just go without WIFI.

  • JWSDP and J2EE Integration: Doesn't work. What's the point?

    My problems involve the integration of JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    It looks like a long one, but it�s really not that bad. All comments are appreciated.
    I�ve numbered each line-paragraph-section for easy reference later.
    (1) My ultimate goal is to setup a website that displays data from a database. I will use Java, Apache, Oracle, and whatever else I need to create a website that uses servlets, JavaServer Pages (JSP), and JDBC.
    (2) I�ve got four Pentium III computers:
    1. Windows 2000 Server to be the web server (MyWebServer, IP = 10.10.1.1).
    2. Windows 2000 Professional to be the database server (MyDatabaseServer, IP = 10.10.1.2).
    3. Windows 2000 Professional that I use to develop and test (MyDeveloperPC, IP = 10.10.1.3).
    4. Windows 2000 Professional that I use as a client to connect to the website (MyClientPC, IP = 10.10.1.4).
    (3) On MyWebServer I installed the following:
    Java 2 Standard Edition (J2SE)
    Java 2 Enterprise Edition (J2EE)
    Java Web Services Developer Pack (JWSDP)
    The JWSDP tutorial
    Apache HTTP Server
    (4) The files I downloaded and installed are as follows:
    j2sdk-1_4_0-rc-win.exe
    j2sdkee-1_3_1-win.exe
    jwsdp-1_0-ea1-win.exe
    jwsdp-1_0-ea1_01-tutorial.zip
    apache_1.3.23-win32-x86-no_src.exe
    (5) After installing these products, I set the environment variables as follows:
    JAVA_HOME = c:\j2se
    J2EE_HOME = c:\j2ee
    JWSDP_HOME = c:\jwsdp
    Path = c:\j2se\bin;c:\j2ee\bin;c:\jwsdp\bin; [and other previous statements]
    (6) I checked to see that Apache is running as a service. It is.
    On MyWebServer I start Tomcat and J2EE. Both start properly and are operating simultaneously.
    (7) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1
    This displays the page c:\ApacheHTTP\apache\htdocs\index.html.en (The Apache default server installation page.)
    (8) I then enter this address in IE:
    http://10.10.1.1:8080
    This displays the page c:\jwsdp\webapps\root\index.html (The default JWSDP page).
    (9) I then enter this address in IE:
    http://10.10.1.1:8000
    This displays the page c:\j2ee\public_html\index.html (The J2EE 1.3 Default Home Page).
    (10) So far so good. Now I want to test JWSDP as a container for JSP pages.
    (11) I use ant to build the converter app found in the tutorial examples (in folder c:\jwsdp\�\tutorial\examples\gs). I then deploy the converter app to the c:\jwsdp\webapps\gs folder.
    (12) From MyClientPC I open Internet Explorer and in the address box I type:
    http://10.10.1.1:8080/gs
    The converter app works perfectly.
    (13) To eliminate the need to enter the port number, I create a link from the Apache default server installation page to the converter app. From MyClientPC and enter this address into IE:
    http://10.10.1.1
    I then click on the link to the converter app and it works perfectly.
    (14) Question: Is this the best way to display JSP pages without having to enter the port number?
    (15) Now it�s time to integrate JWSDP and J2EE as described in these two documents:
    http://developer.java.sun.com/developer/technicalArticles/WebServices/wsj2ee/
    http://java.sun.com/j2ee/documentation/windows_guide.html
    (16) After I complete this integration I cannot start both Tomcat and J2EE at the same time. This makes sense because they both share port 8080.
    I start Tomcat.
    (17) From MyClientPC and use Internet Explorer to test the various relevant addresses. Everything works the same as it did before except this one:
    http://10.10.1.1:8000
    The page cannot be displayed. The J2EE default home page is not displayed, which makes sense because the J2EE port is no longer 8000; it has been changed to 8080.
    (18) Now I shutdown Tomcat and start J2EE.
    From MyClientPC and use Internet Explorer to test the various relevant addresses:
    (19) http://10.10.1.1:8080
    Displays the JWSDP default home page.
    (20) http://10.10.1.1:8080/gs
    The page cannot be displayed. The converter app no longer works.
    (21) From MyWebServer and use Internet Explorer to test localhost:
    http://localhost:8080
    This displays the J2EE default home page.
    (22) Question: Why does localhost give me a different page than the IP address?
    (23) Question: What was the point of integrating JWSDP and J2EE?
    (24) I want to get the converter app working, so I create a .war file and attempt to add it to the J2EE deploytool (see the two integration documents listed above at section 15.) I create the .war file following the instructions in the JWSDP tutorial:
    http://java.sun.com/webservices/docs/ea1/tutorial/doc/WebApp3.html#64606
    (25) I change to the c:\jwsdp\�\tutorial\examples\gs\build folder.
    I then type:
    jar cvf converter.war .
    A .war file is created.
    (26) I open the deploytool: File, New, Application, and I name it �converter�.
    I attempt to add the .war file: File, Add to Application, Web WAR.
    (27) When I attempt to add the converter.war file I get this error:
    �converter.war does not appear to be a valid web JAR.�
    I tried a few different attempts, all with the same result. I�m stuck.
    (28) I ask again, What was the point of integrating JWSDP and J2EE?
    (29) If this is the preferred configuration, how do I display my JSP pages like the converter app?
    Please help!!!

    The JWSDP tutorial says to be in the �build� folder of the example when issuing the jar command to create the .war file. The build folder is created when I run the �ant build� command.
    Attempt 1 from the command prompt in folder c:\jwsdp\tutorial\examples\gs\build>
    I typed this command:
    jar cvf c:\jaxmservices\converter.war .
    In this case I directed the .war file to be placed in a different folder as you suggested. Here�s the output:
    added manifest
    adding: index.jsp(in = 921) (out= 525)(deflated 42%)
    adding: WEB-INF/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/classes/Converter.class(in = 582) (out= 358)(deflated 38%)
    Didn�t work. Same error as before.
    Attempt 2 from the same folder:
    I typed this command as you suggested (I tried it with and without the final dot):
    jar tvf converter.war
    Here is the output:
    java.io.FileNotFoundException: converter.war (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.tools.jar.Main.run(Main.java:185)
    at sun.tools.jar.Main.main(Main.java:904)
    I tried a few other variations on these attempts with no luck. I�m stuck.
    I�m attempting to create a .war file out of two files: index.jsp and converter.class.
    Now that I�ve integrated JWSDP and J2EE, is there some other way that I can run the converter app instead of a .war file and the deploytool? In other words, if I go back to using ant to build and deploy converter, where would I deploy it so that it will work with J2EE?
    By the way, it doesn�t have to be converter. I�d be happy if I could get any JSP page to work in J2EE after the integration.
    Forever grateful,
    Logan

  • Do u know what is jdk 1.4.1 and j2ee 1.4.1?

    hi~ do u know what is jdk 1.4.1 and j2ee 1.4.1? Are they sotware program like jbuilderX for example? Do u know which of these 2 is better for jxta? Do u know the installation procedures for jdk1.4.1 and j2ee1.4.1? thanks!

    jdk means J2SE(Java Software Development Kit)
    is it j2ee or jre?
    No they are the main software for run a java program.
    jbuilderX is a editor where you can write java programs using jdk or jre.
    Both are need for jxta.
    Just run jdk 1.4.1 setup.exe file.That automatically install jdk and jre to your PC.

  • What is their difference betwwen  Sun ONE Application Server  and J2EE serv

    Sun ONE Application Server is Sun implementation of J2EE server.
    But it seems even no Sun ONE Application Server, use J2EE SDK command
    j2ee -verbose
    we still can launch an Application Server that support EJB, JSP....
    what is their difference betwwen Sun ONE Application Server and J2EE server provided by J2EE SDK ?
    Thanks,

    Sun ONE generally refers to the Sun ONE Application Server version 7.x. This is a J2EE 1.3 compliant application server from Sun. Sun also released a Reference Implementation version (RI) as a requirement of the J2ee 1.3 spec. This is the J2EE server you are refering too. The Sun ONE Application Server 7 is a more robust production ready App Server.
    Going forward, Sun combined the 2 seperate groups to include just 1 release. The J2EE 1.4 Reference Implementation is the Sun Java System Application Server Platform Edition version 8. SJS AS 8 PE is both free and production ready. Other version will include High Availability, Managing and Monitoring features.
    -Jeff

  • J2SE and J2EE Which with what ?

    I am running Windows NT 4.0 server, with SP6a & Windows NT 4.0 work station, with SP6a. On reading the various combinations of J2Se and J2EE, which do I need to match. Also I am using ant 1.5.3 and looking at some CORBA 3 work using JacORB 1.4.1. I have been using J2SDK 1.4.1_02 for general jave work.
    From what I have been reading it looks as if I need J2SE 1.3.1_02 with J2EE 1.3.1.
    What is the real combinations of J2SE and J2EE needed for such a asystem ?
    Also at present I do not particularly wish to move to a Win2000 Server/workstation combintion as yet.
    Thanks
    Omegaall

    You may now download J2EE 1.4 which will be compatible with your existing installation of J2SE 1.4.1_02.
    However, J2EE consists of the application server and additional tools. They are not required, nor are they recommended for heavy duty enterprise work; J2EE is simply a basic "reference" platform for you to get your feet wet on.
    Other alternatives do exist, and if you've tracked down Ant, you probably already know about Tomcat, JBoss, WebSphere and a number of commercial engines. All of these packages essentially take J2EE and extend them further (or are faster, or are more reliable, etc etc).
    If you have been asked to develop COBRA objects - as opposed to, and I stress this, as opposed to - merely being interested in the technology, then I strongly strongly strongly suggest you find out what your customer is using and set up a scheme similar to theirs. By developing to the same platform, you can save yourself a lot of deployment and packaging headaches, and essentially develop the objects "the right way" for that system.

  • What is the difference between JDK and J2ee

    Could someone explain, in simple terms, what is the difference between JDK and J2ee. I am trying to understand the difference.
    THanks

    Could someone explain, in simple terms, what is the
    difference between JDK and J2ee. I am trying to
    understand the difference.You can practice on this one first. What's the difference between chalk and cheese? No just kidding.
    A JDK is a set of tools for Java development including compiler, runtime system and standard libraries. J2EE is the enterprise version of the Java technology platform (it's one of three). To use it you download the proper JDK's.

  • JBuilder 3 and Weblogic 4.5.1 - urgent!!!

    Hi,
    I am trying to add weblogic classes to my Jbuilder project and when I
    compile the project, it gives me the following error: ( I followed the
    instructions on ur website)
    "Fatal Error:cannot access class javax.swing.JFrame;no source found;must
    be compiled, because java.awt.Frame.dispose referenced by class
    javax.swing.JFrame has changed."
    Has any one come across this error??
    Please reply ASAP, we have a project deadline to meet!!!!
    Thanks a million in advance
    Rajni

    Rajni,
    I occasionally have that problem with JB3. A solution is to clear out your
    compiled classes directory. For most projects , this is "myclasses".
    Hope this helps,
    Eron Wright
    "Sam" <[email protected]> wrote in message
    news:83eda7$4mu$[email protected]..
    You have to remove weblogicaux.jar from the Java Libraries in project
    properties.
    we used to have that problem. Just use only c:\weblogic\classes, that'sall
    it needs to get your program compiled.
    - Sam Jacob
    Rajni Gauni <[email protected]> wrote in message
    news:[email protected]..
    I defined a new library which has C:\weblogic\classes and
    C:\weblogic\lib\weblogicaux.jar in the classpath.
    Then I add this library to my current project.
    What am I doing wrong????
    Thanks
    Rob Woollen wrote:
    Make sure that the weblogicaux.jar is in the compiler's classpath.
    -- Rob
    Rajni Gauni wrote:
    Hi,
    I am trying to add weblogic classes to my Jbuilder project and when
    I
    compile the project, it gives me the following error: ( I followedthe
    instructions on ur website)
    "Fatal Error:cannot access class javax.swing.JFrame;no sourcefound;must
    be compiled, because java.awt.Frame.dispose referenced by class
    javax.swing.JFrame has changed."
    Has any one come across this error??
    Please reply ASAP, we have a project deadline to meet!!!!
    Thanks a million in advance
    Rajni

  • Difference between J2SE and J2EE...

    Hi all. I was wondering what the difference between J2SE and J2EE were. I mean in the code structure. Are the packages the same, like Swing, IO, things like that. I'm a bit of a beginner in Java, only been messing around with it for about 6 months now kind of in my spare time, and I know I'm in now way ready for J2EE, but it's something I think I'd like to maybe look into. I know it's for Enterprise Applications, much bigger scale than I'm used to, but fundamentally, how is it different? Different coding conventions? New packages not in J2SE? I hope what I want is coming across okay. Thanks for all the input.
    James

    J2EE defines a large number of specifications, in addition to J2SE. Examples are the Servlet, JSP, JMS, and EJB specifications. Most of those specifications are designed to have implementations running inside an Application Server. There are free implementations available such as JBoss (combined with for example Tomcat), and I think youre best bet to learn is to download one of those and go from there. Servlets and JSP are a good beginning, and then maybe move on to EJB and the rest.
    Br - J

  • ABAP and J2EE-Stacks in SAP WEB AS

    Hi,
    I have two questions about the technical architecture of SAP WebAS, particularly about the ABAP- and J2EE-Server.
    Can someone recommend detailed papers/guides (besides help.sap.com)describing:
    1) the management of processes and resources in two parts (ABAP and Java)
    and
    2) The communication mechanisms between J2EE- and ABAP-server.
    What are the problems with JCo?
    Is there other possibilities to communicate between  2EE- and ABAP-server.(besides JCO), what is the performance in this case compares with JCO?
    Thank you!
    Peter Hneke

    Hi
    please have a look in to this Pdf Doc .   might be of soem help to you .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b52456bd-0a01-0010-6d9b-f153bf15a82f
    Apart from JCO communication between JAVA and ABAP can also be handled using ESA services .
    please have a llok at these blogs
    /people/scott.campbell/blog/2005/05/16/the-esa-is-coming-the-esa-is-coming
    /people/kevin.liu/blog/2005/10/17/esa-soa-es
    /people/harsh.chauhan/blog/2005/08/27/building-esa-and-delivering-it-through-caf
    /people/sap.user72/blog/2005/10/28/the-fundamental-problem-solved-by-esa
    Hope this helps . pelase do not forget to reward points , if helpful
    regards
    rajeshkr

  • BPM standalone and J2EE versions

    What is the diffrence between BPM standalone and J2EE versions
    and
    What are the advantages of Using J2EE Version over standlone?
    In configuration document it is mentioned that we need to deploy wlj2eedeployer.ear on weblogic server.
    Why this deployment?
    Thanks

    Depending on your needs, the Engine can be deployed using two different implementation styles.
    Standalone Oracle BPM Enterprise Engine
    Oracle BPM can be deployed in a standalone environment running on a JVM. This is the original version of the Engine and has been around for 10 years.
    The benefits of deploying processes to Enterprise Standalone are:
    <li> It does not require an application server J2EE container to run. This means a lower cost of entry if you do not already own WebLogic or WebSphere J2EE application servers.
    <li> It is simple to install and administer.
    Enterprise Standalone uses a simple active/standby failover mechanism. When the active engine starts, it immediately registers in the Oracle BPM Directory that it is the primary engine. When the standby engine starts on another machine, it sees that another engine has already registered as the active server in the Oracle BPM Directory. Since the active engine is already up, the standby knows that it needs to ping the primary engine periodically to ensure it is still up. If the standby engine fails to get a response from the active engine, the standby notifies the Directory that it is now the active engine. When what was previously the active primary engine restarts, it notifies the Directory that it has restarted, sees that another server is now the primary and then starts as the secondary.
    J2EE Application Server Oracle BPM Enterprise Engine
    Oracle BPM Enterprise engines can also run on a J2EE application server within WebLogic and WebSphere containers.
    Oracle BPM Engines running on a J2EE Application Server support active clustering. This means that as loads increase over time, new nodes can be added making the environment more scalable over time.
    With the J2EE Application Server environment automatic failover is automatically provided across nodes.
    Finally, in answer to your last question - the deployed wlj2eedeployer.ear is useful because this lets you stop and start the Engine and deploy projects from the simple (ok - somewhat simple) Oracle BPM Process Administrator tool.
    Hope this helps,
    Dan

  • Connector for tomcat and j2ee

    I have a login system created. It creates accounts into a mysql server at the moment. I want the users to be able to log in. I need the correct details in my "my-DB-plan.xml" file in order to be able to connect to the SQL server. Im not sur what to put in this file or whether im to use a server.xml file
    Any Help.Please.

    Our[b] login.html page is simple as follows:
    <html><head><title>
    J2EE SQL Security and Registry System Demo
    </title></head><body>
    <h1>LOGIN using Derby and J2EE declarative security!</h1>
    <form method="POST" action="j_security_check">
    Username:<br>
    <input size="20" name="j_username">
    <br><br>
    Password:<br>
    <input size="20" name="j_password" type="password">
      <input name="submit" type="submit" value="Login">
    </form>
    </html>The connection is not made on the page but rather the username and password is authenticated by "j_security_check".
    It's something to do with the my-db-plan.xml file I think, but I don't know if I'm to replace that file, change it or what..
    It's setup for the Derby Database server rather than MySQL. I'm not sure how you'd change it. This login system we are using can be seen here: http://www-128.ibm.com/developerworks/opensource/library/os-ag-logreg2/

  • Anybody explain ABAP client and J2ee engine?

    There are client 000,001,066.
    But for J2ee Engine the client is in a different way.
    What is the relationship of User data between ABAP client and J2ee Engine?
    and tell me some inside about client copy? I have read some docs of help online, I 'd like more tech fact.

    Hello Shen,
    First ground rule: ABAP stack can support mutiple clients while JAVA stack supports only one client at one given time. In terms of user master data you can have 1:1 relationship between ABAP client and corresponding J2EE client provided there is connection between ABAP and UME which normally is there as it configured during installation. So if a user exists in client X in ABAP you can also view it in client X of J2EE.
    Regarding client copy what type of client copy are you asking about?
    Regards.
    Ruchit.

  • Lift and stamp image adjustments inconsistently working

    Just started playing with Aperture a few hours ago and seem to have intermittent problems lifting and stamping image adjustments. The manual has little info about lifting, beyond metadata, but sometimes I'm able to also lift image adjustments (color correction, crop, etc.). This was an advertised feature, so I assume the lack of info in the manual about lifting image adjustments is an oversight (or I am missing it). Unfortunately, I'm not usually able to lift image adjustments. They appear to be consistently availabel in the Lift HUD right after I make the adjustment to the image, but if I click away and then back, the adjustment is gone.
    I think it has something to do with the tiny icons on the lower-right part of some of my images. The one I usually see when I make some adjustments is a small white box with a left and right arrow on top of each other. This typically indicates that something isn't synched in other programs, but I don't know what needs to be synched in Aperture. The adjustments remain on the image when I click away and then back to it so they appear to be sticking.
    I've seen a couple of other icons show up in the lower right hand corner of images, but haven't been able to figure out what they mean. There doesn't seem to be mention of them anywhere in the Aperture documentation. Does anyone have a pointer or explanation of each of the icons' significance?

    OK, I got a bit of an answer from the instructional DVD. In the Image Adjusting section, they talk about lift and stamp. The problem is that you can't just select the image in the image browser, you have to click on the rendered image to lift the adjustments. It looks like you can also do this by option-clicking on the thumbnails.
    In the demo, though, they appear to lift and stamp a crop. I can't get anything other than color and luminance adjustments to show up in the list of possible adjustments to lift. Rotation, crop, etc. They're all ignored. Am I missing something?

  • J2SE and J2EE

    what are the differences of J2SE and J2EE in terms of programming? I have used J2SE in developing java applets and standalone applications and now, I want to explore more with J2EE. I am reading articles and site regarding J2EE. But for you what is J2EE all about?.
    Thanks!

    To be frank, if you have to ask you don't need it. Learn most of what Java SE has and can do; then you'll have a sufficient knowledge base to understand and use Java EE as it's intended, on enterprise-level applications.
    If you want more information read the documentation, as I don't care to digest it for you.

Maybe you are looking for

  • Group open windows in tabs

    I am getting a very cluttered desktop with lots of terminal windows open and lots of Preview documents open as I am programming and looking up code in manuals and references. Is there any app out there that groups my open windows in tabs. Like all te

  • I can't install the adobe flash player.

    when i want to install adobe flash plyer they ask me after a password, but i don't know which password it is. i thought it is the password of this website. but it doesnt't work. please help me. i need the flash player for my facebook account. so plea

  • I-pod screen wont respond

    I was tanning and at first i thought it was the sunscreen that made it not respond but i remembered using it to change the volume and song. I put the i-pod behind my head when i was laying on the long chair and it could be that my sweat got on it and

  • How to make a water reflection?

    I have a picture that I want it to look like its sitting in the water how can I do this I have no clue is there water reflection effects in AS3 Flash?  If there is can I have an example?

  • Package in Object Navigator

    Dear ABAPer I want to create a package for my requestin Object Navigator,but it prompts 'Package must be assigned to the software component '. I can't understand it fully. Can anybody give me some advice? TKS!