Netbeans - Enterprise project vs Web project

This may seem like a kind of lame question, but having stuck with Vim for many months, Netbeans is my first venture into a proper IDE, and I want to make sure I become very familiar with it.
Basically I was just wondering if someone could give me a more insightful breakdown of the differences between starting an Enterprise project within Netbeans, and starting a Web project. My understanding of an Enterprise project is that it is very much business-oriented, ie. relates to customer management, supply information, that sort of thing. But I really don't see the benefit in distinguishing such types of programs from general programs... in my eyes, it's like highlighting one particular category out of all the possible categories of software, for no apparent reason.

This may seem like a kind of lame question, but
having stuck with Vim for many months, Netbeans is my
first venture into a proper IDE, and I want to make
sure I become very familiar with it.More important than sticking with Vim is using the command shell, javac, java, and having a thorough understanding of how CLASSPATH works. Very good.
There are others besides NetBeans, of course. Eclipse is free and not too bad. I prefer IntelliJ to both, in spite of the price.
Basically I was just wondering if someone could give
me a more insightful breakdown of the differences
between starting an Enterprise project within
Netbeans, and starting a Web project. What do you mean by "enterprise"? Is that one that uses EJBs?
My
understanding of an Enterprise project is that it is
very much business-oriented, ie. relates to customer
management, supply information, that sort of thing.No, you can do all those things using web apps without using EJBs. Does that make them less "enterprise"? I say no.
But I really don't see the benefit in distinguishing
such types of programs from general programs... in my
eyes, it's like highlighting one particular category
out of all the possible categories of software, for
no apparent reason.I'll have to wait to hear your definition of "enterprise" before responding, but applications with and without EJBs are different. They certainly deploy differently - with EJBs use EAR files, without EJBs can get by with a WAR file. With EJEs required a Java EE container like Sun ONE, JBoss, Weblogic or Websphere. You can deploy a web app to all of those, or you can stick with a servlet/JSP engine like Tomcat.
%

Similar Messages

  • Converting Air Project to Web Project in Flash Builder 4

    I have an Air project that I need to convert to a web project to post online.  I've looked online with no luck so far, but perhaps someone can point me in the right direction.
    The closest thing I see to being what I want is if I go to Properties > Run/Debug Settings.  In there I tried going to New > Web Application but when I browse for Project it comes up empty, and so is the "Application file" dropdown.  I tried screwing around int he Source tab in the same window but it doesn't seem to help much.
    Other things that look close to what I want but don't work are when I right click my project, there's a "Add/Change project type" but all options are greyed out and I don't see anything web related in the options anyway.
    Also there's Properties > Targeted Runtimes, but there's nothing there I can do.
    Then in Properties > Flex Compiler I have "Generate accessible SWF file" checked.  But when I try to use that file it won't work in the browser flash player.
    So... is there an easy way to convert an Air project to a Web project?
    Thanks!

    I'm glad (but at the same time sad) someone has had the exact same problem I had.
    I've tried a few things (though none successful).
    - creating a flash pro project from the fb project
    - creating an AS3 project from the as3 mobile project (which runs on air). now this one I thought would work, and it does in Flash Player, however, when I try to run it with the generated html file, all I get is a string of errors.
    Here is something that does work.
    If you create an AIR project in Flash Pro (I've only tried this in CS5.5), when you publish the project, it will generate the swf and html files and the html file works and the swf runs great. Unfortunately you have to start that way (which sucks for programmers that want the benefits of Flash Builder). I haven't found anything to properly convert it yet.
    I hope this is some insight, even a year later.

  • Accessing EJBs from a Web project

    Hi,
    I am getting the error: "com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/ejb/UserInfoServer." when I try to access the session bean from my web project.  I have followed the instructions explicitly in http://help.sap.com/saphelp_nw04s/helpdata/en/55/29ed5eff965448941c0b42f01b9804/frameset.htm and also tried every other combination I can think of for configuring the references in both the EJB project & the web project (both in the same ear).  I do have a jndi name in the visual administrator for localebjs/sap.com/myEar/UserInfoServer.  Does anyone have any ideas?
    Thanks & merry Christmas/Happy New year to all the SDN folks!

    I've managed to get around the problem for the time being by using "/localejbs/provider/application/beanName" - bypassing (I think) the whole JNDI issue -  this is OK for now, but it's obviously not a long term fix. 
    Previously, I had used the default & so did not enter anything in the ejb-j2ee-engine.xml, and so my ejb's showed up nicely in the Visual Administrator JNDI Registry under the localejbs tab as you would expect. The problem appears to be in the Web project - The key is that the error is "Path to object not found" rather than "Name not found".  It seems to me that it knows what it is looking for & that it is valid, but doesn't know how to get there! Note that the EJB project is in the same EAR. The only reference to "Path" that I can find is in the help doc above where it says "If the name of the target enterprise bean is not unique in the enterprise application scope, you can enter the path to the JAR file that contains the bean...".  I've gone through the Car Rental Application pdf (I can't find the download that contains the entire application) & followed the instructions there explicitly for referencing ejbs from the web..

  • Enterprise Application and Web Portal Projects

    I know its possible to have one enterprise application that contains 2 web portal projects. The part Im unsure about is if it is possible to update one web project without having to bring down the other project. Supposedly through console you can do this however I have been unable to get this to successfully work. Is this a known error?

    Hi Anikumar!
    Yes it is true! The webDynpro make it automaticaly.
    I'm not clear with J2EE web application. I don't know how i should get the login parameter for my RFC calls.
    I have try:
    DestinationService dstserv =(DestinationService) ctx.lookup(DestinationService.JNDI_KEY);
    RFCDestination dest =(RFCDestination) dstserv.getDestination("RFC", "test");
    Properties destprop = dest.getDestinationProperties();
    String user1="MYSAPSSO2";
    String passwd1=pass;// pass is encrypted ticket;
    destprop.setProperty("jco.client.user",user1);
    destprop.setProperty("jco.client.passwd",passwd1);
    JCO.Client cl = JCO.createClient(destprop);
    cl.connect();
    cl.ping();
    cl.disconnect();
    I also try
    IWDJCOClientConnection ca =     WDSystemLandscape.getJCOClientConnection("ModelData");
    In the contentadministrator Modeldata Destination set to Ticket authentification and it works fine when i test it in webdynpro contentadministrator, but when i try to get the JCOConnection i get a SystemLandscapeException:Error while obtaining JCO connection.
    I debugged it and i get a WDRuntimeException--->Nullpointerexception. It seems that the jco destination is not initialized at this time.
    Maybe i understand something wrong.
    Regards!

  • Missing values of Enterprise Custom Field in Project Professional and Project Web Access

    Hi all,
    In Project Server 2010 SP2 we created a custom field called Iteration Path (without a lookup table).
    We're in an environment where Project Server task data gets synched from TFS and we've mapped the Iteration Path from TFS to the Enterprise Custom Field in Project Server.
    We've triggered synch of all synchronized work items from TFS to Project Server
    Then, in the database we can see the Iteration Path values coming across
    When I open these projects in Project Profssional, the entire column of Iteration Path is empty.
    When I open these projects in Project Web App (from Project Center), the entire column of Iteration Path is empty.
    When I open the master project which contains all these projects, no values are shown.
    Any ideas what can be wrong?
    I did already clear my cache, global.mpt, but nothing changed. We don't have this issue with other Enterprise Custom Fields that are mapped to TFS fields.
    Cheers,
    Bram
    www.projectexpert.nu

    Hi Bram,
    In the 4th item, when you say "database", which one are you talking about? Project Server DB? Draft or reporting DB? 
    If the value are not showing up in Project Pro, it is no need to clean your cache, since the value are obviously not stored in the Project Server Draft DB. The issue is more likely to come from the TFS sync for this particular field. Do you have any logs
    for the sync process? If your field in anyway different from the others, containing specific characters?
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • How to read file in netbeans web project with relative path.

    Hi friends,
    I have created a web project in Netbeans with following stucture.
    Exercise1
    src --> database --> ConnectionManager.java
    cofig --> databaseproperties.xml
    I want to read config\databaseproperties.xml file in src\database\ConnectionManager.java file.
    I have tried to create a file input stream with path = "config" File.separator "databaseproperties.xml".
    I am getting error of File Not Found..
    Anybody has any idea? In Netbeans what is the default context path?
    Edited by: Jaykishan on Jun 29, 2010 11:54 AM

    place the *.jrxml files in your war (e.g. WEB-INF\classes\report.jrxml) and then in your servlet:
    JasperReport report = JasperCompileManager.compileReport("report.jrxml");

  • GUI Form on a web project

    Is there any way to enable the GUI form options in the new file wizard on a web project. We actually have applets that within our web project and need access to the GUI Forms option wizard withing the web project. However because its specified as a web project the option does not show up when you click new. Any way to add this to the options of file types.

    No, there isn't need to copy back and forth. Once created, an Applet Form can be edited by visual Form Editor even after having been copied into Web Application project without needing to copy back into Java Application where it was created.
    ( ie.
    1. create the form in Java Application project using "Java GUI Forms | AWT Forms | Applet Form" template path in the "New File" wizard (not "Java Classes | Applet" path ! )
    2. copy/move the created applet node into Web Application project
    3. edit the form right there - inside Web Application project
    The Web Application and Java Application are parts of Netbeans platform that Java Studio Enterprise is built upon. There is an issue filed
    http://www.netbeans.org/issues/show_bug.cgi?id=62127
    to allow create the applet form node right inside web app project to avoid copying step.

  • Eclipse web project using Glassfish 4.1 can not load some libraries in modules directory

    We installed latest "Glassfish Tools for Luna" (updated on 2 October 2013) and created a new Eclipse dynamic web project using Glassfish 4.1. When try to annotate a class with "javax.enterprise.context.ApplicationScoped", it complains as "ApplicationScoped cannot be resolved to a type" although imported as "import javax.enterprise.context.ApplicationScoped".
    Checking "glassfish-4.1/glassfish/modules/" directory and there is cdi-api.jar that contains ApplicationScoped class. But when checking from the project libraries in the eclipse, couldnt see such a jar.
    My configuration:
    Eclipse 4.4
    Glassfish runtime java development kit : java 1.8.0_20
    Project java development kit : java 1.8.0_20
    Project compiler level : 1.8
    Project facets : Dynamic web module 3.1, Java 1.8, Glassfish Web Extensions 4.0, Javascript 1.0
    How to solve this issue?
    Thanks.

    There are 274 jars in the Glassfish 4.0 modules directory, whereas there are 282 jars in the Glassfish 4.1 modules directory. So it is not only cdi-api.jar. Moreover there are some libraries, the names of which have been changed.
    Why not simply importing all libraries in the modules directory to Eclipse, like Tomcat plugin does for tomcat/lib directory? So when manually deploying a library(jar) to modules directory Eclipse will discover it automatically.
    Thanks.

  • File Reading in Web Project, file path help.

    Hi,
    I have a web project with the folloing directory structure.
    Thesis
    > build
    > dist
    > nbproject
    > src
    > test
    > web
    Using netbeans and GlassFish V2 webserver I'm trying to call a function in a Java file (src folder) from a JSP file (web folder).
    In my java source code I have the following line:
    BufferedReader in = new BufferedReader(new FileReader("data.txt"));
    which means the file should be found at the root of the project (Thesis). However after many hours of frustration, I finally found out that when my project gets deployed to GlassFish server, my program is trying to look for the data.txt file in "C:\Program Files\glassfish-v2ur2\domains\domain1\config\"
    I got the path from with the following command in my java code
    File file = new File("highscore.txt");
    System.out.println(file.getCanonicalPath());
    Is there anyway of changing the path it is looking for? I've tried looking throught all the settings in GlassFish and cannot find anything that is set as "C:\Program Files\glassfish-v2ur2\domains\domain1\config\"
    Thanks

    Don't cross-post - it's rude:
    http://forum.java.sun.com/thread.jsp?thread=519223&forum=31&message=2479278
    http://forum.java.sun.com/thread.jsp?thread=519222&forum=33&message=2479275
    %

  • Web project architecture question, mulitple .wars vs a single .war

    I am in the early stage of architecting a web project.
    At this point, I've came up with two solutions:
    Multiple .wars
    Each section would be it's own .war that would be built into an .ear. This would allow a multiple developers to work on the project and if a change would be made, then only the changed .war would need to be built.
    However, then I would have mulitple copies of the same library for each .war, so that could slowly become a maintenance nightmare.
    Also, I haven't figured out how to communicate between each .war - I don't believe I can cross container context?
    Single .war
    I wouldn't have to worry about multiple copies of the same library files. Nor would I have to worry about losing session data between applications since I would be running under one container.
    But I am unsure of the best way to have more than one developer work on the project? It was suggested that I look at cruise-control at sourceforge.net - an automated build process - thus developers could check in their source code and a build would happen every xx minutes.
    What is the best way to approach a project that is made up of multiple applications that need to be under one application suite?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    I would recommend starting with the simple case which is using a single war file. You can use multiple wars, but it can add a bit of complexity and force you to learn a few advanced fetaures to get started. You can also share common libraries among multiple war files inside an ear file, and Java EE has mechanisms to allow that sharing (BluePrints has a document on adding libraries to Java apps at
    https://bpcatalog.dev.java.net/nonav/enterprise/portableextensions/frames.html ) but it is does add a bit of complexity for you to learn initially.
    A good rule of thumb is to start with one war file, and only split into other war files if really necessary. The most common style is one war file.
    hth,
    Sean

  • Dependency between web project and bean module

    i am using netbeans [6.7],
    i created web application has different packages
    i created bean module separated from the web project
    i want this module use one of package from that web project
    so how can i do that by netbeans?
    also
    want the web project to access the beans from the bean module
    so how can i do that by netbeans?
    i wait the reply
    as soon as possible
    thanks for all

    hm, its not good when two different projects have bidirectional dependencies - in my opinion that means they should be part of the same code base and thus the same project.
    A possible solution I see is:
    - take the part that the 'bean' project depends on in the web project out of the web project and put it in the bean project itself
    - add the bean project as a project dependency to the web project (thus bringing back the logic you just moved to the bean project)
    You can manage library and project dependencies in the project properties. Right click on the project name in the tree view to get a menu that holds the function to do that (cannot remember its exact name right now and I don't have Netbeans handy).

  • Hyperlink Column in Project Center Web part

    Dear All,
    I have a requirement to add a hyperlink column in project center web part which route user to the project detail page. How can I achieve this task ?
    I probably will write a code in project creating event and will assign a value of hyperlink column through it.. Kindly guide.
    Hasan

    Hi Hasan,
    You actually don't need any code.
    Each project (if you're using PS2010 or 2013) is associated to an EPT (enterprise project type). To each EPT, PDPs are associated. The first PDP associated (you can moved PDPs of an EPT up and down in the EPT configuration from server settings and thus change
    the order) will the one displayed when clicking on the project name (as hyperlink by default) in the project center.
    Thus the solution is to configure your EPTs to have the Project Detail Page in first position.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Project Summary Web Part Not Available

    Hello,
    We are running SharePoint 2013 Enterprise edition and have created a standard team site and have added in Tasks and a Calendar. We are now wanting to add the Project Summary Web Part but when I click on Edit > Insert > Web Part > Content Rollup
    (which is where I think it should be) there is no sign of it.
    Is that web part available on all site templates or does there have to be something done to the site to get it?
    Many thanks.
    Kind Regards,
    Stephen

    Hello,
    Typically about 5 minutes after posting this I had a flash of inspiration and went into Manage Site Features options to discover that there is a site feature called Project Functionality that when activated automatically adds the Project Summary web part
    to the home page of the site.
    Kind Regards,
    Stephen

  • Problem creating portal web project in weblogic workshop 9.2

    hello All,
    I am facing a problem when i create portal web project in weblogic workshop 9.2 it gives some problems
    The library module reference :
    p13n-app-lib
    wlp-framework-full-app-lib
    wlp-services-app-lib
    wlp-tools-support-app-lib
    is on the classpath of this project, but it is not contained in the weblogic.xml descriptor of this WEB project : portalproject.     weblogic.xml     portalproject/WebContent/WEB-INF     
    so plz help me how we provide these library .
    Diwakar Gupta

    Those are application libraries that should be listed under the portal enterprise app under meta-inf/weblogic-application.xml.

  • How to change the application alias for a web project in NW7.2

    Hi,
    a simple question, but I could not manage to solve it: How do I change the application alias (the url) of a web project? I'm using Netweaver 7.2 and all the tutorials I found refer to earlier versions and do not work anymore.
    In particular, I would like to change e.g. "server.com/vendor~webbappname" (the standard url of the web project) to "server.com/mywebapp".
    Thanks in advance for your help!

    Hi,
    Try customizing the <context-root> element in the web.xml deployment descriptor, for example:
    <?xml version="1.0" encoding="ASCII"?>
    <application xmlns="http://java.sun.com/xml/ns/javaee"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
              http://java.sun.com/xml/ns/javaee/application_5.xsd"
               version="5">
               <display-name>YourWebApp</display-name>
               <module>
                   <web>
                   <web-uri>YourWebApp.war</web-uri>
                   <context-root>mywebapp</context-root>
              </web>
         </module>
         <module>
              <ejb>YourWebAppEjb.jar</ejb>
         </module>
    </application>
    Afterwards, rebuild and redeploy your application.
    I hope that helps.
    Regards,
    Yordan

Maybe you are looking for