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).

Similar Messages

  • Load-balancing and fail-over between web containers and EJB containers

    When web components and EJB components are run in different OC4J instances, can we achieve load-balancing and fail-over between web containers and EJB containers?
    null

    It looks like there is clustering, but not loadbalancing available for rmi
    from the rmi.xml configuration. The application will treat any ejbs on the
    cluster as one-to-one look-ups. Orion will go out and get the first ejb
    available on the cluster. See the docs on configuring rmi.xml (and also the
    note below).
    That is a kind-of failover, because if machine A goes down, and the
    myotherAejbs.jar are on machine B too, orion will go out and get the bean
    from machine B when it can't find machine A. But it doesn't go machine A
    then machine B for each remote instance of the bean. You could also specify
    the maximum number of instances of a bean, and as one machine gets "loaded",
    orion would go to the next available machine...but that's not really
    loadbalancing.
    That is, you can set up your web-apps with ejbs, but let all of the ejbs be
    remote="true" in the orion-application.xml file:
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//Evermind//DTD J2EE Application
    runtime 1.2//EN" "http://www.orionserver.com/dtds/orion-application.dtd">
    <orion-application deployment-version="1.5.2">
    <ejb-module remote="true" path="myotherAejbs.jar" />
    <ejb-module remote="true" path="myotherBejbs.jar" />
    <ejb-module remote="true" path="myotherCejbs.jar" />
    &ltweb-module id="mysite" path="mysite.war" />
    ... other stuff ...
    </orion-application>In the rmi.xml you would define your clustering:
    <cluster host="230.0.0.1" id="123" password="123abc" port="9127"
    username="cluster-user" />
    Tag that is defined if the application is to be clustered. Used to set up
    a local multicast cluster. A username and password used for the servers to
    intercommunicate also needs to be specified.
    host - The multicast host/ip to transmit and receive cluster data on. The
    default is 230.0.0.1.
    id - The id (number) of this cluster node to identify itself with in the
    cluster. The default is based on local machine IP.
    password - The password configured for cluster access. Needs to match that
    of the other nodes in the cluster.
    port - The port to transmit and receive cluster data on. The default is
    9127.
    username - The username configured for cluster access. Needs to match that
    of the other nodes in the cluster.

  • Difference between Web Services and RFC (both Advantages & Disadvantage)

    Hi All,
    will you please explain the difference between  Web Services and RFC (both Advantages & Disadvantage)
    Thanks,
    jyothi.

    Hi,
    If you want have a communications between SAP systems within a network, we can go for an RFC.
    If you want have communication between SAP systems through a medium like internet, we can probably go for a webservice.
    Please refer the following links:
    What is the difference between RFC vs. Web service ?
    Webservice
    If you want to convert an RFC fuction module to an webservice, you can refer the following link,
    Using RFC as WebService in WebDynpro
    Hope this will help you.
    Regards,
    Jithin

  • Diference Between Web Intelligence and Web Intelligence Rich Client?

    Hey Guys,
    Do you know the difference between Web Intelligence and Web Intelligence Rich Client?
    I was asked about that but i couldnt help. And i need to make a decision about a Web Intelligence training. I need to decide using one or another.
    Thanks
    Vegas

    Hi Vegas,
    The Webintelligence Rich Client (WRC) has all the features of the thin webintelligence client. But WRC makes use of the client processor and memory to do all post query processing while Infoview Webi sends every request to the server for processing.
    Thus you won't find any difference between the time taken to retrieve data from the database between these two clients. But there would be huge difference in performance while doing further analysis, formatting  with the data. Also you will not need connectivity to the network to do analysis and formatting using the WRC client.
    WRC client will help you to just retrieve the data on the fly and let you play around with it while you are traveling with no network connectivity.
    Thanks
    Mohanraj CP
    http://blog,mohanraj.org

  • Is there link between account receivable and payroll module ?

    In Account Receivable :( I have This Case )
    How to record a sale to an employee? How to record it as an employee loan without effecting bank or cash records.     
    is there link between account receivable and payroll module ?
    this solution i suggets bellow , is valied solution?
    Define Invoice transaction type "Employee Sales "
    This Type will affect (Receivable ) Employee Account
    In Payroll Module :
    ( Manually )TheEmployee Sales invoice will sent to payroll department to extract amount from employee , this extract Will credit the same "Receivable" Employee account

    Employee Loan in AR can be tied with Element Balance of payroll.you should have to develop some mechism to get the money from AR and update into Payroll element balance, this way you can manage your employee loan without touching bank.
    There is no seeded functionality comes with AR that have such capability.

  • Integration between Sales Order and Inventory module

    Hi....
    Plz tel me d ans for.........
    a)Integration between Sales Order and Inventory module.
        b)Integration between Delivery and Inventory module
        c)Integration between Invoice and FI module.
    Thanks

    >
    manoja c wrote:
    > Hi....
    >
    > Plz tel me d ans for.........
    >
    >  a)Integration between Sales Order and Inventory module.
    >     b)Integration between Delivery and Inventory module
    >     c)Integration between Invoice and FI module.
    >
    >
    > Thanks
    HI Manoja,
    a) Integration between Sales Order and  Inventory module.
    While creating sales order due to Strategy group in MRP3 view of material master does an availability check and determines the first date of availability.
    b)Integration between delivery and  Inventory module.
    At the time of PGI (Goods issue)
    Cost of Goods Sold is debited due to configuration in OBYC GBB T-Key To Inventory Account
    c)Integration between Invoice and FI module.
    In account assignment(that reminds me of your previous que CONDITION TECHNIQUE is used for Account Determination as well)
    Tcode VKOA
    Also when Billing document is released to Accounting
    Customer Account is debited for the amount in Invoice.
    and credited to Sales Revenue Account
    Hope this clarifies to some extent
    Post for further clarification
    Reward if helpful
    -Abhishek

  • Difference between web server and application server

    Hi Everybody
    Could anybody expain difference between web server and application server?
    Sharad

    Hi there
    The difference I know is the application servers provides the containers for the applications to run which is not provided by the web servers.
    For example the containers can be an EJB container or JSP container etc

  • Diff. between Web Dispatcher and ICM

    hi gurus,
    Please help to understand the Difference between Web Dispatcher and ICM in whereas ways like
    When do we use which tool?
    The architec differences between them?
    Anything more that would help me to understand better!
    Thanks a lot in advance
    Regards
    Sekhar

    Hi
    At top level, Web dispatcher is like simple dispatcher which handles all the internet related requests like Http, Https, Smtp.
    ICM is Internet connection Manager which is used to administer the flow between SAP and outside world using HTTP, HTTPs, SMTP
    Please read these
    Web Dispatcher
    http://help.sap.com/saphelp_47x200/helpdata/en/42/5cfd3b0e59774ee10000000a114084/content.htm
    ICM
    http://help.sap.com/saphelp_nw04/helpdata/en/0a/a7903febb15a7be10000000a11405a/content.htm

  • Difference between Include Text and Text Modules in Smartform?

    Hello Experts,
    I need to know the differences between Include Text and Text Modules in the Smartform.
    When we create a Text in smartform, the text type can be text element Or Include Text Or Text Module.
    Now i need to know the differences between Include Text and Text Module.
    Thanks and Best Regards,
    Suresh

    Hi Suresh,
    Kindly check the below link for Text Modules.
    [http://help.sap.com/saphelp_nw70/helpdata/EN/24/ccbd2a00c811d4b588006094192fe3/content.htm]
    For Include Text:
    [Include Text|http://help.sap.com/saphelp_nw70/helpdata/en/03/7560efcf0d11d3b565006094192fe3/content.htm]
    Regards,
    -Syed.

  • What is difference between Web Console and Web SAPConsole

    Hello,
    What is the difference between Web Console and Web SAPConsole.
    Thanks,
    Milind M.

    Hello Milind,
    I am not sure that there is any difference between Web console and Web SAP Console.
    But of course, there is a lot difference between SAP Console and SAP Webconsole.
    Using SAP console you can use mobile data entery with Character support where as with the help of SAP webconsole you can use web supported mobile data entry in which you can use touch screen device.
    Hope this helps.
    Regards
    Arif Mansuri

  • Differences between Web server and Application server

    Differences between Web server and Application server:
    We use Tomcat web server or sun Application server to deploy web applications . What is the differeences between these two servers?

    http://en.wikipedia.org/wiki/Web_server
    http://en.wikipedia.org/wiki/Application_server

  • Dependency between BPM Projects

    Hi,
    I'm planning the construction of a sales application project. It is composed by eleven topics and I want to know if each topic can be constructed in its own project and each project uses the same custom jsp presentations, webresources, BPM Objects. The reason to implement this is to improve the maintenance in production; because if I quit one project from the engine I don't want to quit the entire project with all the sales process.
    Thanks for your help,
    Guillermo

    Just so you know, you can share JSPs and BPM objects between projects. There's a commonCatalog folder in studio that can be maintained under a common module of code in your repository. Likewise the JSPs can be organized as well in folders that are common to other projects in the repository. When you check in or out code, common objects go into one common module and project specific code go into their own module.
    To share BPM objects using the commonCatalog, I just copy the module/folder (e.g. SharedObjects) from the componentCatalog to the commonCatalog. These objects appear to be from the same place from within studio, but they are in separate folders and separate repository modules. This makes it easy to maintain them in your source repository.
    Also, if you right-click on the project and go into properties you can have dependencies of projects. One project can be dependent on another. So far, I was only able to share BPM objects. Screen-flows, and processes cannot be shared. JSPs could be shared by using the common folder/branch idea I mentioned before.
    If you want to place all projects into one project, that's okay too. When you deploy projects to the server, you can control deployments down to the process level. So for most folks that is the easiest approach.
    HTH
    Mark

  • Webservice between Web Dispacther and NW

    Hi,
    In the current server architecture, the SAP NW server is sit their local environment or called as DMZ where it is not communicate with the Internet. It have a SAP Web Dispatcher that able to communicate with public. I developed a EJB and expose it as a Webservice. So for inbound request, it will from public to Web Dispatcher then it route to SAP NW and look for the Webservice.
    Would like to ask how about the response back for the request. As I know Web Dispatcher is for inbound only. The response is it directly from SAP NW to public? Then for this case due to the server is in DMZ, it unable to connect to external network. Or will it go through Web Dispatcher to response the request?
    Thanks.

    Hi Adrian,
    Communication between external system and NW ( under DMZ) will happen with WebDispatcher for sure. It depends what kind of programming is being done for the Web Service.
    Regards,
    Deepak Kori

  • Ports required for communication between Web servers and service applications (the default is HTTP)

    We're using SharePoint 2010, I'm the system admin for a SharePoint farm. We enabled SharePoint Search by adding a Search Service APplication. One of the crawl report timer job is failing every 5 minte with the error "Cannot connect to remote server".
    After digging around, we found that the server running the timer job tries to connect to the SearchAdmin.svc on the index server, over HTTPS / port 32844 However, communication over SSL via a non default port is blocked by our firewall.
    According to this article: https://technet.microsoft.com/en-us/library/cc262849.aspx the default is HTTP for communication
    between web servers. How is it possible that it's trying to connect over SSL?

    Hi,
    Quoted from
    https://technet.microsoft.com/en-us/library/cc262849.aspx#ServiceApp :
    You can change the protocol and port binding for each service application. On the Service Applications page in Central Administration, select the service application, and then click
    Publish.
    Here is an article for configuring Windows firewall port rules for SharePoint using PowerShell in case you need:
    http://www.xylos.com/default.aspx?id=1050
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Share Same DbContext between web role and worker role

    HI
    My "Windows Azure Cloud Service" project consists of one web role (.NET MVC) and one worker role, they are working fine under "Emulator".
    The web role project is orginally a Azure web site application which is converted to a web role project and the connectionstring is located in the web role application
    http://thinkfirstcodelater.com/blog/?p=1922
    When I try to access the dbcontext in worker role like this
    public override void Run()
                // This is a sample worker implementation. Replace with your logic.
                Trace.TraceInformation("CCDWorker entry point called", "Information");
                while (true)
                    Thread.Sleep(50000);
    MyContext context = new MyContext();
                    List<MyEntity> ccds = context.MyEntity.ToList();
                    Trace.TraceInformation("Working", "Information");
    I got this exception: "The model backing the context has changed since the database was created." Please help
    Regards
    Mark

    Hi Mark,
    Thanks for posting!
    Like jeff said in this blog(http://weblogs.asp.net/scottgu/archive/2010/08/03/using-ef-code-first-with-an-existing-database.aspx ),When a model
    is first created, we run a DatabaseInitializer to do things like create the database if it's not there or add seed data. The default DatabaseInitializer tries to compare the database schema needed to use the model with a hash of the schema stored in an EdmMetadata
    table that is created with a database (when Code First is the one creating the database). Existing databases won’t have the EdmMetadata table and so won’t have the hash…and the implementation today will throw if that table is missing. We'll work on changing
    this behavior before we ship the fial version since it is the default. Until then, existing databases do not generally need any database initializer so it can be turned off for your context type by calling:
    Database.SetInitializer<YourDatabaseContext>(null);
    Also, you could refer to this thread,http://stackoverflow.com/questions/3600175/the-model-backing-the-database-context-has-changed-since-the-database-was-crea
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Database connection error | created a new datasource | web application

    Hi, I am trying to deploy a J2EE web application on SAP Netweaver 7.0. I have to connect to a Oracle database schema (Not the default schema used by SAP). I am using Java and JDBC to make connections to the database. In order to accomplish this, I cr

  • RGB vs. CMYK Colorspace - Which is best to work in?

    I'm designing a document for a client, within in InDesign. Up until my last save, I've been ignoring the notice about InDesign being set in the RGB colorspace. On my last save, I changed it to the CMYK colorspace and all my linked images got lighter

  • Error using a Tax Code

    Hi, I created a new withholding tax code for Argentina. When i tried to post using this tax code I am getting the following error message. Acct determination not defined for trans. WIT YY XX in chart of accts XXXX Message no. F5 113 Diagnosis An auto

  • Moderator please help me regarding my BT vision ac...

    Hi, i am trying to order bt sport and am continously being told online that i do not have the correct package in order to recieve the channel, even though i have been a full paying customer of phone/broadband/vision for a long time! all i want to do

  • Problems ImportExport.properties (import) In Shared Services Console - SOS

    Hello everyone, I have to export all users, groups and provisions of the Security v.11.1.1.3 a Hyperion Planning. Csv file, in which the user can export the file, you see, modify and re-import. Mequeda export if, if I creael. Csv file, but does not m