How to structure my application

Since I'm new in java developpement, I don't know how to structure my application servlet/jsp which should have these age a functions:
a page which load a table from a database, a page to change client parameters and a final page that allow to enter a new one,
So, I need to know how many jsp pages and servlets will I need
I'd be more grateful if you helped me to find some MVC tutoriels to help me to structure my apllication
thanks

Hi kesari,
According to your description, my understanding is that you want to display data only from one site collection in Content Search web part.
For your issue, you can create a Result Source for the site collection using the query "Path:<URL of the site collection>". The result source only query the date from the site collection. Then you can use the Result Source in the
Content Search web part, and apply some queries.
About creating a Result Source, please refer to the link:
http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx
Best Regards,
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support

Similar Messages

  • Large application: how to structure?

    Hello JHS team,
    At my current customer, there is a very large Forms application (Designer generated, +100 fmb's). On the long run, the goal is to get this application migrated to ADF using JHS. With or without the forms to ADF conversion utility.
    My question now is how to structure the ADF/JHS version. The Forms application has a menu on top of the screen, with a hierarchical structure. Each menu item links to a specific .fmb in the application, and some fmb's are also linked to eachother.
    My initial thought was to make one ADF application (Model-ViewController), and for each fmb to create an equivalent Application Module. Or in JHS terms: each fmb represents a service. This way the (dynamic/static) menu feature of JHS could be used.
    Needless to say, this one application would become too large to maintain. And the largest disadvantage of this approach: it would not be possible to deploy an individual service, because the whole application would just be one .ear file after deployment. On the contrary, in Forms, an .fmb can easily be regenerated from Designer and deployed to the server. Without affecting the rest of the application.
    Another approach would be to make a new ADF application, with separate Model and ViewController project, for each fmb. But how to reach a menu structure then? Linking to a deployed ADF application requires quite an exotic URL, which you don't want hardcoded in your menu...
    How would this be solved in the cleanest way? Keeping in mind that an individual part of the application (ie the equivalent of one fmb) should be redeployable on its own, that there should be a menu to navigate to the different applications and that linking different application (incl passing parameters?) could be necessairy? Am I missing something obvious, or is this just very hard?
    We are using the latest JDev 11g version with (one of) the latest JHS build(s).
    Thanks for your input!
    Chris

    Chris,
    Please use the internal mailing list.
    The forum is intended for customers/partners.
    Btw, The ADF Methodology group has quite a few interesting threads related to structuring large ADF apps.
    Steven Davelaar,
    Jheadstart Team.

  • HT2474 when I am opening any application including safari, these icons are not showing in dock, how to get open applications in my dock?

    when I am opening any application including safari, these icons are not showing in dock, how to get open applications in my dock?

    This could be a plist corruption problem, but I'm not sure.
    Sometimes, the preference list files get corrupted. You can usually just remove them and they'll get re-created. This may require you to reset certain settings. A notable exception to this is the Mail plist which actually stores the Library structure of your email accounts. Deleting the Mail plist will definitely cause lots of problems, but is recoverable.
    The plist files are stored in the /Users/username/Library/Preferences/ folder. They usually have the naming convention of com.company.programname.plist.
    A simple troubleshooting technique is to move a suspect plist file out of the Preferences folder and start up the app, again. It will re-create the plist from scratch.
    In your case, I would try the com.apple.dock.plist. You can use Activity Monitor to kill the Dock app and it will restart. Or, you can log out and log back in.
    There is a new file with Leopard called com.apple.dock.db. I haven't figured out what it does, but you might try moving it out. If anything gets worse, you can move the old file back in replacing the newly created one.
    This all sound somewhat odd, so I don't know if this will help.

  • How to structure my package hierarchy?

    As an inexperienced Java programmer, I am having a hard time understanding how to structure packages hierarchically.
    Let's say that I am developing a client/server AddressBook application. So automatically, the following package hierarchy comes to my mind:
    (company/org name is ACME for example)
    com.acme.addressbook
    com.acme.addressbook.protocol
    The above two packages form the reusable core of the AddressBook system and include classes such as AddressBook, AddressBookEntry, etc. and related helper classes. Additionally, the protocol sub-package contains classes that pertain to the C/S network protocol. And both of these two packages are packaged up in a jar: AcmeAddressbook.jar
    com.acme.addressbook.client
    The above is the package for the Client application: AcmeAddressBookClient.jar
    com.acme.addressbook.server
    The above is the package for the Server application: AcmeAddressBookServer.jar
    My questions are: does such a package structure and hierarchy make sense? Or are there any glaring mistakes that I have made?
    Is it acceptable to keep the client and server applications into their own separate packages?
    Also, is there any recommended limit for nested packages i.e. how deep should packages be nested within the top-level AddressBook package?
    I am struggling to understand good package design and package structuring conventions.
    Thanks any for any info, critique, advice, etc.

    Lets the two client and server packages are respectively :
    com.acme.addressbook.client
    com.acme.addressbook.server
    Yes, such a package structure and hierarchy make sense!
    If you are having common utility classes and many library jars inside the package addressbook.library, you can just refer in client as well as in the server package.
    If you are going to create separate project for client and for server, you want to maintain multiple copies, which further results in the problems due to redundant code. ie., whenever you changed any library files, you want to update in both places.
    You can create two jars as you mentioned as,
    AcmeAddressBookClient.jar
    AcmeAddressBookServer.jar
    Before building jars you just want to set the executable Main class appropriate for Client and Server before making the client and server jars respectively.
    There is no limit for the nested package, if you need to group meaningfully, you can make as many nested package as you want!
    For your reference :
    http://articles.techrepublic.com.com/5100-22-1046677.html

  • How to install Adobe Application Manager?

    How to install Adobe Application Manager? I downloaded it, but can't install.
    Just purchased the CC for photographers.  Have been using Photoshop since version 3.
    I have been studying your support docs for several days and have no business messing around with something called, .gz files and installation logs. Totally unsuccessful "Updating" my CS6 or CS6 bridge or Extension Manager or the Adobe Support Advisor by the CC Desktop.
    Have no Photoshop CS6 because I followed your CC support instructions.
    Uninstalled my CS6 today so I can finish a job tomorrow.  Bad decision on my part because I can't reinstall it and am unable to correct
    this problem. 
    I was able to use CC to update LR, but am absolutely too afraid to touch it now.
    I have been waiting inline for Chat also, but the numbers ahead of me are going up.
    If someone in this Community forum can help me, it would be fabulous.
    Thanks very much.

    Uninstalled Creative Cloud.
    Downloaded it again - 4th time.
    Deleted a AAMDetect file from the Library/Internet Plug-ins
    Downloaded and installed Adobe App Manager and an icon for it is on my Desktop
    Installed Creative Cloud.
    OK.
    Now how do get my Photoshop CS6 back before I download Photoshop CC?
    CS6 is not listed in the available Apps in the CC Desktop.
    Support wait time right now is 2 hours by phone.
    After sitting on Chat yesterday only to see the people "waiting ahead of me" go from 17 to 18, I gave up.
    Please advise.
    Thanks again.

  • How to start a application with a login window?

    hi there
    does anyone have any idea on how to start an application with a login window? a login window is the first frame or window to be displayed when an application starts running. and only correct login id and password have been entered the real application will start. any sample out there? thank you.

    You can start a new thread by making a thread object and passing it an implementation of a runnable object. Runnable has just one method, public void run(), this is was gets executed in a second thread. perhaps the code you would use would look something like this.
    <code>
    // set up thread for login window
    new Thread(new Runnable() {
    public void run() {
    // construct your login window here
    // when you are done processing the
    // password....
    if(goodPassword) {
    authorized = true; // a global variable
    notifyAll(); // don't forget this
    else {
    System.exit(42);
    }).start();
    // control does not stop this code gets executed while
    // the above thread is running.
    // Set up main program here. This is done in the
    // backround.
    while(!authorized) {
    synchronized(this)
    { wait(50); }
    // now when the user logs in this frame pops
    // up real quick.
    myFrame.setVisible(true);
    </code>
    Hope you can figure it out.. good luck :)

  • OIM11gR2 - How to migrate an Application Instance Form

    Hello,
    I'm trying to migrate an Application Instance Form from my Dev env to my QA env.
    My target system is SAP
    I performed the following steps in Dev:
    1. Installed and configured the SAP Connector (no problem here)
    2. Created a sandbox
    3. Created an Application Instance
    4. Created the Application Instance Form
    5. Ran a target reconciliation to confirm everything is working properly
    6. Exported the sandbox
    7. Published the sandbox
    8. Via Deployment Manager I exported all objects related to SAP (Resource object, Process Forms, Lookups etc.)
    In QA I did:
    9. Installed and configured the SAP Connector (no problem here)
    10. Via Deployment Manager I imported the objects related to SAP
    11. Imported the sandbox
    Problem:
    To my surprise, the Application Instance does not have a Form in the QA env.
    I had to create it manually by performing the following:
    12. Create a sandbox
    13. Open the Application Instance definition
    14. Click on create (to create a form)
    15. Entered the same name I used in my Dev environment
    16. Received an error message saying that the form already exists
    17. Entered a different name for the Form
    18. Saved
    19. Exported the sandbox (to import in Prd)
    20. Published the sandbox
    21. Ran a target reconciliation to confirm everything is working properly
    I tried to reproduce the problem with another (test) destination environment because I don't want to have the same problem when migrating to Prd.
    I repeated the steps 9,10,11 except that I imported the sandbox exported from QA (step 19) instead.
    The same problem: Application Instance definition has no Form attached to it in my test destination environment.
    If I try to create the form with the same name, it gives an error message saying it is already there.
    Is my procedure wrong?
    Is there an official procedure explaining how to migrate only Application Instance Form from one env to another?
    My env:
    OS: Windows 2008 R2 SP1
    OIM: 11gR2 BP7
    SAP connector: 9.1.2.2.0
    Thanks,
    Adr

    This is a bug: Bug:16027176
    Check the [Article ID 1515225.1] which proposes a workaround that might be useful in your case (it was not in mine).
    In short the workaround is:
    The following order should be observed to export :
    - IT Resource & Application instance in one xml
    - Request DataSet in another xml
    - SysAdmin Sandbox (the one defined while creating the Application Instance and the Form)
    - Identity URL Sandbox (defined while customizing the fields on the Form, in the Catalogue page)
    Adr

  • How to keep an application level object running with SunIDM?

    We are working on intergrate a gmail project with SunIDM. We need an application level object running with SunIDM so it will maintain a token generated from Gmail side. In anther servlet project, I had this object saved in the attribute of the ServletContext, then other session level servlet could share this attribute anytime. Is there a way to store attribute in Servlet Context and have it shared by different user session in SunIDM? I have been reading documents and searched this forum, haven't find any topics related how to maintain an application level object live. Hopefully that I can get some hint here.
    Thank you so much.

    Paul, Thank you so much for the further explaination. I don't think it will work since the token generated from gmail will expire every 24 hours.
    We are using the gdata library published from by gmail people, and I create a new UserService object and have it run in the application level. The UserService object will generate a token and renew it every 24 hours behind the scene. Here is how I implement it in my Servlet project:
    //to have a UserService object running at the application level:
    public class GmailUserService extends HttpServlet {
    public void init(ServletConfig config) throws ServletException{
    super.init();
    userService = new UserService(myApplication);
    config.getServletContext().setAttribute("gmailUserService", userService);
    //to access this UserService object from other servlet in each user session:
    UserService userService = (UserService)servletContext.getAttribute("gmailUserService");
    Gmail will trigger an error if we create a new UserService object for each user. They recommend to have all the user to share one UserService object. I am looking for similar approach in SunIDM.
    Thank you again, Paul, for trying to help.

  • How to set up Application specific custom ogoff (sign-off) page.

    Hi,
    I'm using OracleAS 10.1.2.2
    Note 333638.1 shows us how do make a custom SSO login page to be application specific. This works.
    Now, I want to do a custom SSO logout (sign-out) page. Using the redirect method described does not seem to work. Please note that in our version 10.1.2.2, there is no default logout.jsp page in the /sso/jsp directory. To deploy a custom logout page, I would need to update the WWSS_LS_CONFIGURATION_INFO$ view.
    I was able to test a custom SSO logout.jsp page sucessfully. However, when I tried using a redirect_logout.jsp to make it application, it no longer works.
    Does anyone know or have any idea on how to deploy an application specific logout page? (i.e. only specific applications uses the custom logout page, otherwise go to the default one).
    Thanks.
    - Kevin

    Well,
    There are 5 choices to choose from on the page. In the description of the choices at the bottom of the page there are 7, and the two additional choices talk about having to first have registered the site with SSO. So...I'm interpreting that as meaning that other 2 possible choices would be displayed if the site is registered with SSO. That, plus the fact that the page which describes how to add the site to SSO seems to think that the SSO choices are displayed in the wizard.
    So, no, there's no "exact launguage" that says what the reason is for the choices not being displayed. Can you point me to some exact language that tells me how to get those choices displayed?

  • Custom KM UI Command -- ClassNotFoundException. How to structure project?

    Hi,
    I'm tired of trying around, so I'm coming here, in hopes that someone can help me (I'm sure there is) :). I'm trying to create two commands (Archive and Push to topnews). The first command will put a resource to a predefined location, whils the second will take an existing document from one folder and replace it with the currently selected resource. The code for doing this is ok, but I cannot display the commands on the context menu!
    I've created a separate layout set with a custom ResourceRenderer with a custom resource command group where my commands are defined in addition to several other, standard ones. The commands have been defined as:
    <package>.<classname> for both "Java class" and "Bundle file" attributes of the UICommand in addition to the properties file with my label and tooltip.
    I'm getting a ClassDefNotFound error no matter what I do. Even if I put it in the src.api or src.core folder I get this error in the trace. I was wondering if anyone could tell me how to structure the PAR file as I think I maybe missing something here...
    In advance, thanks
    Hans Petter

    Hi Hans,
       In order to isolate this problem, you can use this example: "Implementing Flexible UI One-Step-Screenflow".
    from:
    Guide to examples:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/kmc/Knowledge%20Management%20and%20Collaboration%20Developers%20Guide.html
    You can download this project, deploy and test this command. I have created commands using this example.
    Patricio.

  • How a J2EE web application access CR reports stored on the CR Server XI?

    Hi,
    I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
    My questions are:
    1. How my J2EE web application access those reports?
    2. Do my web application uses some CR API for the connectivity and integration?
    3. What will happen to the database connectivity of the report template? since the report are created locally.
    4. Can the report template be edited/updated on the server?
    5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
    6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
    7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
    I hope you can provide some guidance on this journey to Crystal Report world
    Regards,
    Rulix Batistil
    Genesis Networks Pte Ltd
    www.gen-net.com.sg

    1) Your application connects via the Java SDK using the appropriate JAR files.
    2) It can.  You can set the database information at runtime or use the already populated information from Enterprise.
    3) Same as 2.   Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting.  You can change this via code to hit whatever equivalent database you want.
    4) Yes.  You would have to use RAS and the RCAPI to accomplish this via code.  You can also make changes in the designer and overwrite the existing report template.
    5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
    6) It can be deployed to the same machine as CR Server, though we recommend against that.  Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
    7) RAS can be used to run reports, as well as the page server.  The universe and business view manager are not directly used in code.  If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
    [BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
    Best Regards,
    Jason

  • How to structure several scenes (in symbols) on the main stage timeline

    Hi,
    I'm new to edge animate but have a Flash background and I'm working in Edge Animate on a game which is structured in several scenes. Each scene I did put in a symbol. Now I wonder how to build the main timeline or the "story - controller" so to speak. I have all the scenes but I do not know how to connect them.
    In Flash it was possible to add keyframes of scenes one after another (like stairs) and jump forward or backward if needed to load the movie clips. In Edge Animate all scenes (or symbols) are in place from the beginning of the timeline and I cannot move the symbol to a later keyframe. Of course I can move animations in the timeline. The only way I think is to hide the symbols first and make them visible if needed. But this does not seem to be the right way and I don't understand the concept of structuring complex animations yet.
    I would like to know how to structure several scenes in Edge Animate properly. Something like a scene loader or unloader would be useful. Highly appriciate any hints to a solution.
    Thank you,
    JP

    resdesign wrote:
    You can also use edgecommons to load edge composition into another edge composition.
    Thank you to your tipp so I try to organize my scenes into compositions. I can successfully load a composition (scene2) into the main container :
    EC.loadComposition("scene2.html", sym.getSymbol("mainContainer"));
    Now I'm facing another situation. At the end of the loaded composition scene2 is a "Next Scene" button suppose to load scene3.html composition into the main container. "Next Scene" is a nested button inside the loaded composition screen2 symbol. How do I load the next compostion from the current one? This code for On Click of course does not work:
    EC.loadComposition("scene3.html", sym.getSymbol("mainContainer"));
    I think the refer to the mainContainer is wrong. Is it just a targeting issue or is it the wrong approach in general?

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • How to use  ADF application functionality in Webcenter Portal

    Hi,
    We have an separate ADF application with bunch of functionality that are been using in others applications.We have to use these functionality in the WebCenter portal.
    In this ADF application, each jspx page used for implementing different functionality(for example Calendar for one page, subscriptions for one page like that) and there are no bounded task flow used.
    Challenge here is, need to some how import the ADF application as reusable component (section) and yet to use different functionality (I mean accessing each jspx page)
    So, what are the ways we can utilize these ADF functionality in WebCenter portal? Let me know your thoughts?
    Any help really appreciated.
    Thanks,
    San.

    All,
    if you have WebCenter in place the best way is to use the ADF portlet bridge. You can create portlet entries at design time in JDev on each JSPX as well as on any TaskFlow definition (right click as mentioned above). That's quite convenient if you stay in the WebCenter / ADF world. You'll get the standalone as well as the portletized application so the standalone version will still be working. Mind that if you portletize an ADF Application you need to deploy it in a portlet runtime. That means you need to extend your ADF container with the portlet runtime. That requires a WebCenter license for the server since the portlet runtime is a part of the WebCenter product stack.
    In respect of SSO, after deploying your Portlet Producer App you'll get WSRP Webservices on application level for which you can apply OWSM policies (Enterprise Manager) so the identity of the portal will be propagated to the Portlet Producer App. Details can be found on WebCenter Portal Developer's Guide.
    Just to let you know that these portlets can be only consumed on Oracle's portals (be that WebCenter or Oracle Portal 11g). That's caused by some Oracle specific WSRP additions to the ADFPortlet Bridge.
    Jiri, what do you mean with "enhance it with portal features"? Oracle's portlet aproach is fully based on WSRP, means decoupling. So you cannot add portal features to the portlet. Everything has to be packed in request and response. There's no direct access to portal /portlet resources to interact with.

  • How do I keep applications from automatically opening when I power up my Macbook Air?

    How do I keep applications from automatically opening when I power up my Macbook Air?

    When you Shutdown or restart, uncheck this option.
    Regards,
    Captfred

Maybe you are looking for

  • Crash when swipe comping

    Im a new logic and mac user. I love the experience so far except when it comes to Logic. When swipe comping Logic inevitably crashes at random points. I cant seem to find a pattern. It happens when theres audio playing and when its still, with multip

  • What is the deal with ReiserFs?

    What exactly is the deal on ReiserFs? ALL the literature I read on it leads me to believe it is an excellent, fast, secure, stable and best Linux file system, by a significant margin. However, whenever it is mentioned in these forums, it is almost in

  • ITunes 11.0.1.12 problems

    The last few times I used iTunes, I was getting an error message which said something about it not being installed correctly and needing to reinstall in order to burn CDs (something to that effect). THis last time, I got the notice that there was a n

  • Synchronizing Analog Output to Counter Input

    Hi! I'm really new to LabView. Pls help! I'm trying to obtain a set of stimulus signal and response signal from my motor for system identification. The stimulus signal will be generated by the Ao0 channel and response signal (quad encoder linear posi

  • Vendor in Limit Order SC Template won't stay changed when creating PO.

    We are currently using SRM 4.0 in an extended classic Scenario.  The problem we have experience is as follows: User creates a SC with a Limit Order template that has a vendor already assigned.  Once the template is selected the vendor is then changed