Structure of a project

Hi all,
when we are doing the extension of controller does the parent controller needs to be a part of project along with the extended controller.
thanks

Hi,
Specifying the parent controoller, adds following lines to your new controller.
1. Adds an import statement, which imports the parent controller.
2. Adds "extends parentController" term to your contoller class.
Your controller class doesn't care, if the parent controller is in myprojects or myclasses. It just want the path of class file of parent controller. You should point it to the class file (not java file) of your parent controller, no matter where ever it is . The things is..while running the controller, your parent controller class should in classPath. In jdeveloper's case, myClasses folder is in classpath. Hence to be on safer side, you should refer the parent class which is in my classes folder.
In fact, you can simply create your controller without specifying the extends parent controller. and then add the above mentioned two lines of java code to your controller. This also results in same extension to parent controller, as one achieve through wizard based extension.
Abdul Wahid

Similar Messages

  • Best practices for folder structure in SOA Project

    Actually, In my project, I have more than 10 BPEL process and several DBAdapters and some HumanTasks. For each BPEL process, JDeveloper creates .bpel, .componentType, wsdl files. For DBAdapters JDeveloper creates lot of files, and same for HumanTasks as well.
    By default Jdeveloper puts all these files in root directory of the Project. It looks messy having 100's of files in root directory.
    How can I organize all these files?
    What are the best practices for folder structure in SOA Project ?
    Thanks

    Yes Yatan. I did noticed that Polling service WSDL disabled in EM . But I want to try this approach beacause I want to move all database related stuff to one composite. I have another composite with 3 BPEL Processes. One BPEL queries external webservice and save the response in DB. One BPEL just fires the first Process(Query) and respond to caller with an unique id. I have Another BPEL which keeps polling on database for 5 sec(I'm using PICK Activity), if there is any new record in database it will retrun to caller. If no new records in database, returns empty to the caller after 5 sec.
    If I put all these in one composite, having lot of files in root directory, the composite really looks very messy.
    As you said, I want to have 2 composites. First Compoiste will have 3 BPEL processes, and 2nd Composite will have DB Polling and DB Save. I will have another project for MDS to store XSDs.
    So because I can't have Polling service as exposed service, I have to keep Polling service in the same Composite where the BPEL is. Now again it goes back to Big and messy project.
    Is there any way I can separate all DB related including polling in a separate Composite ?
    Thanks
    --Sreeny                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Resource Breakdown structure role in Project Cost Allocation.

    Dear Experts,
    What is the role of resource breakdown structure while running project cost allocations? Is it possible that targets in the allocation process gets the cost allocated to the resources in RBS which is same for source as well as target projects?

    Hi
    The resource breakdown structure (RBS) is used in the system to summarize the amounts from the lowest level leaf to the grouping / parent levels.
    You can use a summarized amount of certain node on the RBS, per your source project, as the source amount that will be allocated.
    On the target projects the allocation transactions are created as expenditure items. Those expenditure items will be on target project and task, using the expenditure type and expenditure organization you have setup for the allocation rule.
    Dina

  • File Structures in a Project

    Hi,
    I would like to know if it is possible to setup a file structure for a project in tcode solar01.
    This will be beneath the default folders that are available within Solution Manager.
    We want to have a file structure which will have specific folder names and document for example.
    1. Application Solution
        a) Planning
        b) Analysis
        c) Design
        d) Build
    2. Technical Solution
    would it be possible to have something like this in Solution Manager

    Yes,
    Create a solman project in solar_project_admin transaction
    and then in Solar01
    Choose on the left business scenario..and on the right choose Structure tab
    Here enter all the names for the folder you want.
    Press the save button and the folder will appear now on the left side.
    Hope it resolves ur problem
    Regards
    Prakhar
    Edited by: Prakhar Saxena on Mar 26, 2009 5:38 PM

  • EAR Structure for JSF project with EJBs

    Hi All,
    I have a JSF project which makes use of EJBs through EJB injection. The project basically consists of 3 components, which are independently archived (as JARs/WARs) and then added to an EAR. The components interact as follow:
    EJB JAR: contains the EJB code.
    Library JAR: contains the bean injection and common methods.
    JSF WAR: contains the JSF pages as well as a request (page) bean which inherits from a class in the library JAR (one containing a bean injection).
    The way I understand it, everything should work fine if I archive those components independently and then add them to an EAR (with the JSF WAR and EJB implementation JAR in the root, and the EJB interface JAR and the Library JAR in a /lib folder). If I do this, however, the bean injection fails and the bean proxy class is just null.
    I managed to get around this by adding the Library JAR to the JSF WAR's lib directory, in which case the bean injection works fine, but if I do it this way it means I'll have to add the Library JAR to all WAR components I have, which seems like needless duplication. Am I doing something wrong when creating the EAR or is this just the way it is? To make myself a bit more clear I include the EAR structures below:
    Not Working
    |_ EJB-impl.jar
    |_ JSF.war
    |_ lib
          |_ EJB-intf.jar
          |_ Library.jar
    Working
    |_ EJB-impl.jar
    |_ JSF.war
          |_ lib
                 |_ Library.jar
    |_ lib
          |_ EJB-intf.jarThank you,
    Ristretto

    Hi All,
    I have a JSF project which makes use of EJBs through EJB injection. The project basically consists of 3 components, which are independently archived (as JARs/WARs) and then added to an EAR. The components interact as follow:
    EJB JAR: contains the EJB code.
    Library JAR: contains the bean injection and common methods.
    JSF WAR: contains the JSF pages as well as a request (page) bean which inherits from a class in the library JAR (one containing a bean injection).
    The way I understand it, everything should work fine if I archive those components independently and then add them to an EAR (with the JSF WAR and EJB implementation JAR in the root, and the EJB interface JAR and the Library JAR in a /lib folder). If I do this, however, the bean injection fails and the bean proxy class is just null.
    I managed to get around this by adding the Library JAR to the JSF WAR's lib directory, in which case the bean injection works fine, but if I do it this way it means I'll have to add the Library JAR to all WAR components I have, which seems like needless duplication. Am I doing something wrong when creating the EAR or is this just the way it is? To make myself a bit more clear I include the EAR structures below:
    Not Working
    |_ EJB-impl.jar
    |_ JSF.war
    |_ lib
          |_ EJB-intf.jar
          |_ Library.jar
    Working
    |_ EJB-impl.jar
    |_ JSF.war
          |_ lib
                 |_ Library.jar
    |_ lib
          |_ EJB-intf.jarThank you,
    Ristretto

  • Best practices code structure for large projects?

    Hi, I come from the Java world where organizing your code is handled conveniently through packages. Is there an equivalent in XCode/Objective C? I'd rather not lump all my observers, entities, controllers, etc in one place under "Classes"...or maybe it doesn't matter...
    If anyone could point me to a document outlining recommended guidelines I'd appreciate it.
    Thanks! Jon

    If you have a small project, you can setup Groups in Xcode to logically organize your files. Those Groups do not necessarily have to correspond to any directory structure. I have all my source files in one directory but organize them into Groups in Xcode.
    If you have a larger project, you can do the same thing, but with code organized into actual directories. Groups can be defined to be relative to a particular directory.
    If really do have a large project, you should organize things the same was as in Java. Your "packages" would just be libraries - either static or dynamic.
    As far as official guidelines go, there really aren't any. It would be best to stick to the Cocoa Model-View-Controller architecture if that is the type of application you are working on. For other software, you can do it however you want, including following something like Sun's guidelines if you want.

  • Easily modifying task structure in a project

    Hello,
    My users have come up with a question.  I do not have a wonderful answer for them, so I thought I would post here to see if there are any ideas.
    My users are used to using Microsoft Project client in which you can easily indent and outdent tasks or cut/copy/paste.  Is there an easy way in cProjects to outdent/indent tasks in the project hierarchy? 
    Also, once tasks are released we can't move them from one section to the project to another.  Would there be a way to do this also?
    Thank you!
    Wendy

    The cut/copy/paste feature does exist in cProject. The icons in the top of the project structure pane provide this functionality.
    Indenting in the way MS Projects implements it is not supported in cProjects. Also moving or deleting tasks after releasing them is not supported in cProjects.
    Regards,
    Debaranjan Hazarika.

  • Suggestion on source safe directories structures for JDeveloper project

    Hello,
    We created our VSS directories by mapping JDeveloper's structure, eg.
    +Workspace
    +Project
    +Sources
    +HTML Sources
    +Deployment
    By this way, people can get the latest - the whole workspace easily. But one thing seems problematic with the multi-user development environment is the .jpr file.
    The .jpr file stores the references to all of the items in the project. Pretty much very changes made to the project will change the .jpr. Developers need to working on the project simultaneously. That means the .jpr will be changed all the time. It's not possible for people keep checking out and in, and others waiting for them. Is there a smart way to control the .jpr in a team environment so that the .jpr will always be up to date?
    Thanks,
    kz

    Hi,
    One option that might make it easier to version control .jpr files is the "Scan Source Paths to Determine Project Contents". This makes your project "dynamic", i.e. it no longer needs to contain a list of all the files in the project - instead it just shows you all files under your Sourcepath / HTML root.
    There are some caveats with this option:
    1) It works best on a new project. If you want to use it on an existing project, it's best to remove all the files from the project first (otherwise, the list of files continues to be stored in the project file).
    2) It may not help you if you have certain types of object in your project (e.g. BC4J / EJB files), because these objects store a lot of file specific data in the .jpr file itself.
    3) It doesn't help at all when two developers concurrently change settings in the .jpr file, e.g. two developers use a different remote debug host / port etc.
    We're aware that there are a number of team development issues with project files, and are actively working to improve the situation in future releases.
    Thanks,
    Brian
    JDev Team

  • No Lock entries for structure Lock in project

    Hi
    I had uploaded the blueprint first time with wrong logical components from standard excel template from SOLAR_PROJECT_ADMIN.  Second time, I am trying to upload with correct logical components. but its end up in the below error.
    The batch job is ending with below error when uploading using the standard template from SOLAR_PROJECT_ADMIN .
    Please help
    thanks
    Sol Man

    Hello  Novice,
    Please check following note 1973194 - Not able to upload project structure from solar_project_admin
    BR,
    K.

  • BOM structures in large projects. Use Collective?

    Hello All,
    I am a little new with this forum.  I was a super user in a high volume high mix industry where we used collective production orders quite frequently. 
    I am now working with highly engineered long term capitol projects.
    It looks like a lot of the BOM's are flat and ties to a WBS project number.  This makes planning very arduous since we are essentually building components into the routing. 
    Collective orders since it seems to give order and structure for materials and planning.
    I am wondering what similar industries do in this environment.  I would welcome any comment regarding the pro's and con's of pushing to change toward using collective more.
    Thank You

    Hi Richard,
    please go through the document it may help you little COLLECTIVE ORDER OR DIRECT PRODCUTION - A scenario overview .
    Regards,
    Venkat.

  • Event structure in RT project

    Hello.
    In my main VI i have an event structure for few buttons. When I run the VI itself it works perfect.
    When I open a new project, adding cRIO 9074 as a target, then adding the VI to the project the buttons doesn't respond. The event structure doesn't work.
    Why? Is there any problem using event structure with RT targets?
    Thanks 

    Tacchi,
    Front panel events do not work on RT targets.  Only dynamic events are allowed on RT.  The reason for this is that when a VI is running on RT, its front panel doesn't actually exist.  See this KnowledgeBase for more info:
    http://digital.ni.com/public.nsf/allkb/42B70D2D0C4B568586256E2F0051441D
    Chris M 

  • Event structure in a project using RT target

    Hello.
    As i was already told, i can't use dynamic events on RT targets. Can you suggest me a solution?
    I have the following project:
    Not a Real-Time Project. But project that using RT target: NI cRIO 9074.
    My main VI looks like (part of it):
    It is implemented by  while loop, which runs until START button is pressed. The button pressed after all the values are set, and then the scan begins. 
    When i was developing this VI outside the project, I used event structure for save to new/existing file, show graph buttons (the white buttons). Because it should not interrupt the while loop (user can make setting, then press show graph, then set something again and only then press START).
    It was like here:
    Now, i wanted to bring all the parts together and put that VI in the project. In addition i wanted to add few buttons, like <-- and --> which are moving the motor manually before the scan starts. BUT, it didn't work.
    Now I'm stuck
    How can I implement what i describe above in my situation?
    Thanks!!! 

    Hi Tacchi,
    Are you planning on running your application as a startup executable or from the development environment? If you are planning on running this from the development environment, probably the closest thing you will get to the behavior you currently see with an event structure is by polling the value of the control that you wish to trigger the event. For example, if you wanted an event to be triggered when a button is clicked, you can have a while loop with a case structure inside of it that performs whatever code you want when the value of the button is true:
    Granted this is not the ideal translation, but since RT applications are meant to run headlessly without a front panel, it may be the best option for your application.
    Hope this is helpful!
    Aaron P
    National Instruments
    Applications Engineer
    http://www.ni.com/support

  • Wireless Toolkit J2ME - changing the directory structure for your projects

    When I create a new package in the Sun Java Wireless Toolkit, the toolkit is creating a folder for the application and its subfolders in the following directory:
    C:Documents and settings/Owner/j2mewtk/2.5.2/apps/<name_of_project>....
    I am trying to change the directory for new and existing projects so that the directory is:
    C:WTK2.5.2/apps/<name_of_project>....
    The WTK is already installed directly under the C drive (C:WTK2.5.2/ )
    Any help would be much appreciated.

    I experience the similar problem.
    But got success with some mobile models and most of them fail.
    I put the following file in the web page.
    (test.html, test.jad, test.jar)
    Sony Erisson P800, install successful when accessing http://x.x.x.x/test.html, or http://x.x.x.x/test.jar
    Nokia 7650, install successful when accessing http://x.x.x.x/test.jar
    Nokia 3530 Fail,
    Does anyone know how to install java game to Nokia 3530 through Web.

  • Is it possible to Change Directory structure once the project is developed?

    Hello,
    I am a Newbee to OAF development, I recently developed a JSP page using the oracle recommended directory structure "<companyname>.oracle.apps.<custom directory>." ie., for ex: "*xxcom*.oracle.apps.xxco.xxco_mapping.server", the page worked perfectly fine when I ran it from jDeveloper.
    but when I tried to deployed the same in the server to run from Oracle Applications, I found that our organization's unix directory structure where I need to deploy the files is not the same, they are excluding the "<companyname>" directory in there structure, the directory structure in unix looks like this "$JAVA_TOP.oracle.apps.<custom directory>...." ie., for example: "/u06/appsw/appdevcomn/java/oracle/apps/xxco", so now I cannot deploy the page I have developed.
    How do I resolve this issue? can I change the directory structure in jDeveloper now to match that on the server, ie., change it to "oracle.apps.xxco.xxco_mapping.server" instead of "*xxcom*.oracle.apps.xxco.xxco_mapping.server"
    Thanks

    Yes, it is called refactoring. PLease see the link below:
    http://jdeveloperfaq.blogspot.com/2010/04/faq-20-how-to-refactor-adf-components.html
    Kristofer Crus

  • Impact due to change in COA structure (removal of project segment)

    Hi,
    We are implementing PA for a client. Their existing COA has projects as an accounting segment. Currently they consider "00000"(Default Project segment value) as operating project. So at any time the sum of balance of all the account combination having "00000" as project segment will give my operating balance.
    Now in the new world, we will be doing away with the project segment from the COA. We are not planning to treat "00000" as a project code. We need to identify the Operating balance in the new system.
    Is there any solution to handle this?
    Thanks in advance
    Govind V

    Hi
    You can set up some indirect projects in Oracle Projects, and use them to charge for operating expenses.
    Dina

  • How to create Document Structure for existing project in Solution Manager

    Hi gurus
    We have all the project document saved using Solution manager . we have ended with Phase1.
    We are starting Phase2 and they are asking me to creat different folder as Phase to in existing project and store all the Documents
    Can any one please tell me how to create New folder and store the documents in Existing project
    Point will given for helpfull Answer
    Thanks
    Bhaskar

    Hi Bhaskar,
    Assuming you have full authorisations, the procedure is simple.
    Please go SOLAR_PROJECT_ADMIN transaction.
    From the menu please select Project -> Copy
    In the ensuing screen, key in your desired project name, scroll through the other checkboxes to see if you are happy with the default choices; if not, take corrective actions.
    In the last set of radi buttons "Desired behaviour at later version comparison", the default choice (2nd entry there - Adjust target project to the original of the source project) is fine.
    From your scenario, since you do not have a Template -> Implementation Project functionality and instead are copying from one Implementation to the other, this radio button is of little consequence.
    Execute the process.
    In the window that comes up, please choose Local Object, assuming that you do not want to capture the whole contents into a 'Transport'. This is more required if you are aiming to copy the project from one SolMan instance to another.
    It would give an information message "Generating in batch job (Name ......)
    In a few minutes, you'd receive an intimation of the Project being copied.
    That's pretty much about it. Have a check on the newly created project in SOLAR01.
    Please let me know if you have any doubts.
    Best regards,
    Srini

Maybe you are looking for

  • Can't auto update applications

    I have a problem with updating applications. When i confirm an application to update itself, it downloads the new version and tries to install and relaunch but fails and gives me "__ application does not have permissions to write to the applications

  • E-Recruiting-  Creating Infoset

    Hi I want to create a infoset to capture candidate data. I have given the following parameters to create an infoset. Logical database: PCH Package: ZHRRCF When I click on check icon system is displaying the message ‘Error in parameter PCHINDEX’ What

  • Accessing third party jars in Web Start. (Urgent)

    hi! I have developed an application using jbuilder which uses thirdparty jars, i specify the jars in the project properties & the application runs fine , I tried to deploy that application using Java web start ,i copied all the third party jars in th

  • Premiere Pro Debug Event - Premiere Pro has enconuntered an error.[..\..\src\TickTime.cpp-290]

    Ho salvato un progetto Premiere Pro CC (2.2014) tre volte successive con i nomi: telecinema1.prproj, telecinema2.prproj e telecinema3.prproj. Tutto ha funzionato regolarmente e per fortuna ho esportato tutti i file e anche alcuni _copiati con Project

  • Burning to Third Party

    anyone know how to get the 6.09 version of Toast. the newer releases don't burn ITunes purchased music. ( I still trying to comprehend the reasoning behind Apple's persuasion of Roxio to add some sort of baffle to release 6.1 which prevents purchased