MVC Framework

Hi, We're working with the MVC Framework. The personnel application is running very good. But when we try to create our own application and have a problem. We use Rational Rose to generate the service xml file and it works good when we use standard process, like CreateJSPPAge, ProcessRouter, DisplayGroup, etc, all that comes in the cle package. But the problem is when developing a persisting process that is not in the satandard process, like the GetDepartment in the personnel example. Orion throws the following error when accessing the controller:
"XML-0108: (Fatal Error) Start of root element expected"
We are creating process with the process generation tool. ?Does anyone one have an idea that can help me to find this problem?
Thanks
Alex

Sure!
Here's a snippet of the xml file where the error comes from.
The problem is in the "inicio" process group. If I comment the process "sitiocontenidos" it works fine, but if I try to use it, I got the exception error.
<?xml version="1.0" standalone="yes"?>
<!-- NOTE! Adjust the following path to match your server installation... -->
<!DOCTYPE service SYSTEM "file:///c:/mvc/src/dtd/cle-service.dtd"[
<!ENTITY docpath "">
<!ENTITY jsppath "/">
<!ENTITY xmlrulespath "file:///c:/oracle/9ias/j2ee/home/applications/personal/web/">
]>
<service name="TGCSite" class="oracle.cle.process.Service" initial="tgcsiterouter">
<process name="tgcsiterouter" class="oracle.clex.process.ProcessRouter" end="false">
<argument type="Integer" value="7"/>
<argument type="Boolean" value="false"/>
<argument type="String" value="tc1"/>
<infoalias local="pp1" global="index"/>
<infoalias local="pp2" global="servicios"/>
<infoalias local="pp3" global="consultoria"/>
<infoalias local="pp4" global="capacitacion"/>
<infoalias local="pp5" global="productos"/>
<infoalias local="pp6" global="otros"/>
<infoalias local="pp7" global="proyectos"/>
</process>
<processgroup name="inicio" class="oracle.cle.process.DisplayGroup" end="true" initial="sitiocontenidos">
<process name="iniciorouter" class="oracle.clex.process.ProcessRouter" end="false">
<argument type="Integer" value="1"/>
<argument type="Boolean" value="true"/>
<argument type="String" value="success"/>
<infoalias local="pp1" global="index"/>
</process>
<process name="paginainicio" class="oracle.clex.process.CreateJSPPage" end="true">
<argument type="String" value="index.jsp"/>
</process>
<process name="paginaerror" class="oracle.clex.process.CreateJSPPage" end="true">
<argument type="String" value="paginaError.jsp"/>
</process>
<process name="sitiocontenidos" class="tgc.site.process.GetSitioContenidos" end="false">
</process>
<transition src="iniciorouter" condition="tc1" dest="paginainicio"/>
<transition src="iniciorouter" condition="success" dest="paginainicio"/>
<transition src="iniciorouter" condition="failure" dest="paginaerror"/>
<transition src="getsitiocontenidos" condition="success" dest="iniciorouter"/>
<transition src="getsitiocontenidos" condition="failure" dest="iniciorouter"/>
</processgroup>
Another process groups...
<transition src="tgcsiterouter" condition="tc1" dest="inicio"/>
<transition src="tgcsiterouter" condition="tc2" dest="servicios"/>
<transition src="tgcsiterouter" condition="failure" dest="inicio"/>
<transition src="tgcsiterouter" condition="tc3" dest="servicios"/>
<transition src="tgcsiterouter" condition="tc4" dest="servicios"/>
<transition src="tgcsiterouter" condition="tc5" dest="productos"/>
<transition src="tgcsiterouter" condition="tc7" dest="proyectos"/>
<transition src="tgcsiterouter" condition="tc6" dest="productos"/>
<grouptransition srcgroup="inicio" srcprocess="paginainicio" dest="tgcsiterouter"/>
<grouptransition srcgroup="inicio" srcprocess="paginaerror" dest="tgcsiterouter"/>
<grouptransition srcgroup="servicios" srcprocess="paginaservicios" dest="tgcsiterouter"/>
<grouptransition srcgroup="servicios" srcprocess="paginaconsultoria" dest="tgcsiterouter"/>
<grouptransition srcgroup="servicios" srcprocess="paginacapacitacion" dest="tgcsiterouter"/>
<grouptransition srcgroup="servicios" srcprocess="paginaerror" dest="tgcsiterouter"/>
<grouptransition srcgroup="productos" srcprocess="paginaproductos" dest="tgcsiterouter"/>
<grouptransition srcgroup="productos" srcprocess="paginaotros" dest="tgcsiterouter"/>
<grouptransition srcgroup="proyectos" srcprocess="paginaproyectos" dest="tgcsiterouter"/>
</service>
Hope this help. Thanks
Alex

Similar Messages

  • Comparisons on Flex MVC Frameworks

    Hi,
    I have been doing a comparison Cairngorm, Swiz, Mate, and PureMVC. I plan on presenting my analysis to the developers at my company and my blog. Before I do so, I want to reach out to the maintainers of each project for comments. I feel offering to do so would be the more fair thing to do.
    However, I'm not sure what's the best way to send my analysis and example applications to the maintainers of this project. I feel that posting my analysis on this forum is inappropriate at this time. What would be the best way to get in touch with the maintainers of the Cairngorm project?

    Thank you for your quick reply, Alex. Since my post yesterday, I came across quite a few comprisons (not an exhaustive list of what I had to read through...):
    http://www.insideria.com/2008/12/frameworkquest-2008-introducti.html
    http://stackoverflow.com/questions/37043/flex-mvc-frameworks
    http://www.flexpasta.com/index.php/2009/07/16/mate-framework-should-it-be-the-new-standard -in-flex-4/
    http://www.summa-tech.com/blog/2009/01/14/selecting-the-right-flex-application-framework/
    http://www.summa-tech.com/blog/2009/02/27/the-flex-application-frameworks-smackdown-sorta/
    http://www.adobe.com/devnet/flex/articles/flex_framework.html
    http://tv.adobe.com/watch/360flex-conference/mate-flex-framework-by-laura-arguello/
    Because I'm looking for a non-intrusive (or loosely coupled) framework with a gentle learning curve (so that my company's current Oracle Forms developers won't immediately reject it), I'm tempted to try out Mate. And because the framework doesn't interfere with views, business logic and server access, it seems that I'll more easily be able to back out and try another one if I find out I made a mistake (something that's tougher to do with Cairngorm or PureMVC).

  • Deployment and configuration of MVC framework

    Guys,
    I have a scenario where I need to deploy one of PHP MVC framework and use Oracle 10g web forms back end queries .
    Have anyone done anything similar ? Appreciate if you people give me some ideas considering me as a new bee to oracle 10g forms .
    Thanks
    Rahulazm
    Edited by: user1091112 on Nov 25, 2009 11:10 PM

    There's a framework here for MVC generically, how you're going to craft them into the forms ... well that's a thought. I'm not sure how that might be done. My generic guess is: You'll have to generate the web form and then write your own integration script or manually integrate the code.

  • Ann: North East Conference on MVC Frameworks and Struts in 3 weeks:

    Ann: North East Conference on MVC Frameworks and Struts in 3 weeks:
    Most people already know what MVC is, once you know what it is, here is the next step. Presenting will be the popular frameworks and components in use by 8 speakers:
    -Ted Husted – Author – Struts Chains/2.0 – the dominant framework in use, from Ziff Davis, to Apple Store to most large commercial sites.
    Husted.com
    -Rod Johnson – Author – EJB/Spring
    springFrameWork.com
    -Christophe Coenraets – Flex-MacroMedia - “back to rich UI w/SOA” (Great blog entry on Struts + Flex)
    markMe.com/cc
    -Howard Lewis Ship – Author – HiveMind (SOA, IOC, AOP) – commonly referred to as “the next big thing”
    javaTapestry.blogspot.com
    -Clinton Begin – DAO/iBatis/SQLMaps – the best DAO layer
    imo, used by Spring, jPetStore, basicPortal, etc.
    -Matt Raible – Author – displayTag/strutsMenu – (displayTag is my favorite J2EE component)
    Raibledesigns.com
    -Jason Carreira – WebWork 2
    freeroller.net/page/jCarreira
    - Vic Cekvenich – Author – basicPortal (J2EZ – easy and simple to customize application for membership, portal, cms, community, store, etc. using bestPractices for large, profitable commercial sites. )
    + more
    You will get a CD mailed to you once you register.
    April 3rd from 8AM to 7PM in NYC at nyhotel.com, next to MSG. Advertised in JDJ, NY Times, etc. My guess is that you won’t find half as many good sessions at Sun’s Java One.
    It $99 to register now at baseBeans.com, in a few day's price keeps going up.

    Hey Jan,
    Oracle's E-Business suite is moving to a JSF solution. This is really for three main reasons (abbreviated version):
    1) JSF is much more focused on the 'view' components. The component model has a clean separation of the component definition from its rendering. This, among many other things, allows us to provide a consistent development environment and APIs for developers building apps for browsers, mobile devices, telnet devices, etc.
    2) JSF has a better defined lifecycle. The JSF lifecycle maps much closer to the phases that enterprise applications need when processing data from a web application. We are able to easily extend this to add things not currently in the spec, like portlets, wireless, etc., as well as more easily plug new components into the framework.
    3) Once you remove the JSP tags & FormBean from Struts, all you are left with is the navigation. There is nothing special in the Struts navigation that would cause us to try to make the two technologies work together. In fact, the Faces navigation will not be robust enough in its current form to support the declarative navigation requirements for Oracle apps. We plan to extend the JSF navigation and then work to submit that back into the standards.
    Hope this helps,
    Ted Farrell
    Oracle Corporation.

  • Related to MVC framework(struts)

    Hi all
    Friends i am having a small application which i had developed in servlets and jsp ... The problem is comming when i have to implement in struts..
    means I am having
    1>> 15 Servlet classes
    2>>10 Jsp's
    3>>7 UserServices class (BussinessLogic class)
    4>>3 bean class (for getter and setter methods)
    In this MVC framework the problem is comming at the time when i have
    to implement all the above points in the MVC framework
    please help
    Thanks all

    Hi,
    MVC stands for
    M ---- Model (Business Logic, FormBeans, Database Related)
    V ---- View (JSP, HTML etc..)
    C ---- Controller (Servlet)
    This is how you have to use MVC Framework.

  • Please Help For the Spring MVC Framework

    Someone please give me some file that represent the example of implementation of Spring MVC Framework.

    User,
    I read your post and had one word pop to mind: "huh?"
    Perhaps [url http://catb.org/~esr/faqs/smart-questions.html]this and [url http://www.oracle.com/technology/products/jdev/howtos/1013/SpringwithJDev/index.html]this will be helpful to you.
    John

  • Mvc framework and stored procedures ?

    Is it possible to keep high productivity of the mvc framework and still use stored procedures as with Cocobase, Castor,etc?
    Thank you in advance.

    If your question is, "Can the Business Components for Java J2EE Framework easily use stored procedures as datasources?"
    The answer is yes. See the sample that we ship in the .\BC4J\samples\StoredProc directory.
    If you're meaning the Oracle9i MVC Framework for J2EE which is produced by Oracle Consulting, then it's best to ask the question the "Project Cleveland" forum here on the OTN forum.
    thanks.

  • Regarding RESTful WEB SERVICES with SPRING MVC Framework

    Hi,
    Can anyone explain me about RESTful WEB SERVICES with SPRING MVC Framework .
    It is urgent for me.
    Thanks
    Venkat Jalli

    Hi Manoj,
    I am also new to Spring MVC portlet. But, I tried to see the difference between sample spring portlet and your code below. Issue that I can see is, in your code, you have not mapped your servlet container with portlet application. So, in theory, your servlet containder do not know that you have a servlet. Let me try to explain from sample portlet,
    In portlet.xml, they have something like below:-
    <portlet-name>swf-booking-mvc</portlet-name>
    <display-name>Spring Webflow Booking MVC</display-name>
    <portlet-class>org.springframework.web.portlet.DispatcherPortlet</portlet-class>
    And in web.xml, they have below:-
    <servlet-name>swf-booking-mvc</servlet-name>
    <servlet-class>org.apache.pluto.core.PortletServlet</servlet-class>
    <init-param>
    <param-name>portlet-name</param-name>
    <param-value>swf-booking-mvc</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    This web.xml is for Pluto portlet container and there will something similar for Weblogic portal as well that I am trying to figure out :(
    Thanks,
    Sanjeev

  • Should I use a MVC framework for an large RIA application

    The book of "Adobe Flex 3 Training from the Source" does not
    talk about any MVC frameworks in its
    eCommerce example. I think Flex's events, functions, and mx
    components are MVC already. Do they have to be in separate file to
    call them MVC? I do not find that core Flex is harder to read and
    understand than using a MVC framework. I think using the MVC
    framework would hurt the performance because too many additional
    events are dispatched. Any comments?

    MVC is one design pattern that is pretty darn useful for a
    lot of applications, IMHO. There are frameworks that more or less
    force you to think in MVC pattern terms, like Cairngorm and
    PureMVC. But you certainly don't need to use a framework to create
    an overall design pattern of model, view, controller. However, it
    sure can make it easier if you're doing a large project. The book
    you're talking about is a good example. They don't use a framework
    but they have tried to use a form of MVC in the way that they
    implement all the components to ensure things are loosely coupled.
    As far as hurting performance, I'm no expert but there are so
    many thousands of events occurring all the time in Flex that you
    might actually enhance performance if you take more control by
    using custom events of your own creation within a well designed
    framework.
    I'm a fan of the Mate because I get it and it doesn't impose
    a strict structure like Cairngorm. I don't have a whole lot of
    experience with OOP (though I'm sure getting it thanks to this
    forum). Many others have their own opinions and will surely
    recommend other frameworks. However, the bottom line is that if
    you're doing a big project, I would think it would be a huge help
    to at least have a conceptual framework approach in your mind, if
    not part of the code.
    Here's a video intro to Mate
    http://tinyurl.com/mateintro

  • How to deploy coldfusion as mvc framework from server standpoint?.

    Does anyone know how to deploy mvc framework from server
    standpoint?. I have all my business logic as cfcs but I want to
    move them to different server so that my cfm code is in one server
    and my cfcs are in another. Has anyone done this or point me in the
    right direction?.

    Marc E wrote:
    > we've actually been trying to go in the opposite
    direction, mostly for ease
    > of deployments. we have a cluster of CF servers, and
    every time we do a code
    > push, we have to migrate to all servers. it's annoying
    and prone to
    > problems.
    Actually that's exactly the way we have our new high
    availability
    environment configured. All the code runs off an EMC device.
    Not sure
    why I didn't draw this parallel yesterday with running the
    CFML on one
    server and the CFCs on another server--as long as you have a
    sufficiently fast network (we're on gigabit) and
    device/drives (our
    stuff is fiber channel), then as you mention below
    performance probably
    isn't an issue. I'd be curious if doing this over 100 megabit
    with more
    low-end hardware would perform as well as having things on a
    local
    drive, however.
    > We want to move all our code onto one machine, such that
    no webserver has
    > any code on it at all. we deploy code to one machine,
    and all webservers on
    > the cluster benefit from the push. this machine is not
    web accessible at all
    > and thus one could say less prone to security problems
    than a webserver is,
    > although i'm not sure that's such a good reason. mostly
    for us it's ease of
    > deployment.
    Yep, very true, and although the NAS/DAS device isn't
    *directly*
    accessible via the web, remember that's it's accessible by
    the user
    that's being used by the web site users, so there isn't a
    huge security
    benefit here vs. having the code locally. You're absolutely
    right
    > separating normal cfm files from objects seems kind of
    silly, when if you
    > want security you'd put all code on a separate,
    non-web-accessible machine.
    Yeah, this is where we head was earlier in the
    discussion--putting the
    CF "pages" on one server and the CFCs on another just seemed
    a bit wacky
    to me.
    > thanks to CF mapping, you can just point "/" to the code
    root of hte machine
    > on which the code lives, and all is well with the world.
    > This is actually how we have our internal environment
    set up, it's just our
    > production environment where our host is a pain in the
    *** about it.
    Right, this is what we do on our production environment but
    we don't
    even use a CF mapping (though you could). We just point our
    web server
    to the EMC device and everything else just falls into place,
    provided
    you've set up the user CF and your web server process (or
    using "connect
    as" in IIS in W2K3) are running as so they have access to the
    network
    storage device.
    > i'd be extremely surprised to see a performance problem
    with this setup.
    > It's not like the web servers are in philly and the code
    servers are in
    > taiwan, sending thousands of bytes per second. you've
    probably literally got
    > the webserver sitting right beside the server on which
    the code lives. it's
    > virtually the same thing as just keeping CF on the C
    drive and all the code
    > on the D Drive (assuming disk speeds on the machines are
    adequate).
    True, good point. We have extremely good performance (might
    even be
    *faster* than local drive speed) with our EMC device, and
    again I'm not
    sure why I didn't see this parallel yesterday in the
    discussions. Blame
    it on a very hectic week. ;-)
    Matt
    Matt Woodward
    [email protected]
    Adobe Community Expert - ColdFusion

  • WebCenter Sites and Model–view–controller (MVC) framework

    A customer of our started developing their sites using Webcenter Sites, they want to support additional functionality such as transaction management, exception handling, custom logging and so on. I was wondering if anyone has experience with the Model–view–controller (MVC) framework, they consider it an ideal candidate for these features. Has anyone here used the MVC framework in conjunction with WebCenter Sites to write additional java classes, facade layers and utilize the Spring controller to wire the same ? Are you aware of any other options available for this purpose ?
    regards,
    Pietro

    Hi Pietro -
    Using Sites IN a MVC framework is very difficult, because the entire context of WebCenter Sites is burned into the COM.FutureTense.Servlet.SContentServer servlet.  You can't really work around that with any degree of reliability.  Unfortunately, that means that dropping Sites into a pre-existing third party MVC framework doesn't really work. 
    There are a lot of good reasons for that, not the least of which is the two-tiered pagelet-level caching system that makes Sites so very fast at delivery... not that it's any consolation.
    To deal with this some former colleagues of mine and I built the GST Site Foundation ("GSF") framework, which provides a Spring-like MVC container WITHIN sites, instead of the other way around.  If you're familiar with Spring, you'll see patterns similar with the GSF.  My current team and I have blogged about this extensively:
    What is this whole GST Site Foundation thing? | Function1
    Create a Simple "Contact Us" Form with GSF | Function1
    How to Add Your Own DAO to the GSF Actions | Function1
    The full stream is here:  GSF | Function1
    But ultimately, the special sauce is the following: in Sites, create an XML element that contains nothing but a <FTCS> tag, a <CALLJAVA> tag, and a closing </FTCS> tag.  Your CALLJAVA will then call a class that implements the Seed or Seed2 interface, and from in there you have access to the (properly managed) ICS object where you can do all of your magic.  You can then build a lightweight controller here to handle any action you can dream up:
    https://github.com/dolfdijkstra/gst-foundation/blob/master/gsf-wra/src/main/java/com/fatwire/gst/foundation/controller/A…
    Let me know if I can help!
    Regards,
    Tony

  • MVC Framework - Spring or Struts

    I was just curious what your opinions where as to what MVC framework to go with? Or does it depend on what you are trying to accomplish?

    SACHINLINUX wrote:
    Can you please elaborate where all these framework stand. No, you'll have to figure something out yourself.
    Means if a new bie want to switch Switch? If you're a newbie you're still learning how to stop making a mess. Where does switching come in?
    from simple MVC(JSP SERVLET AND BEANS ) to higher technology,What would you consider "higher technology"?
    which one is the best for him.Best for you to learn how to ask a proper question.
    Reply will be appreciated Thanks!Smarter questions would be appreciated.
    %

  • Create MVC Framework UI to load others MVC application and those should display their view in Framework UI Layout and work independently

    Hi,
    How it is possible to develop a UI Framework/ MVC UI Framework which will loads the others MVC Application. The Framework will show the views of loaded MVC app into UI Framework view. At the same time the Framework UI will show the default view of each loaded
    MVC app(Module). If user click on any MVC Module on the UI then that MVC module should update itself by calling its own controller and others MVC app view should not disturb due to this operation. The UI Framework layout need to facilitate somehow to show
    the default view of each MVC somehow in different DIV. All MVC App will work independently and having communication with UI Framework only. HTML5, CSS3 and MVC 5 can be used
    Can anyone please suggest how to proceed on this?

    That's a strange request, but anyway, the MVC section is at the link below,
    http://forums.asp.net/1146.aspx/1?MVC

  • Oracle9iAS MVC Framework for J2EE Licening information

    Does oracle really want to sell its product. Why
    is so hard to find the licening information and a contact
    to drop a email or make a call ?

    for information about MVC as an accelerator service see http://www.oracle.com/consulting/offerings/platform/j2eeaccel_ds.html
    for downloads and related infos see http://otn.oracle.com/products/ias/ias_utilities.html#mvc
    btw, there is also a forum for the framework, see: http://forums.oracle.com/forums/forum.jsp?id=487810
    hth, trevi

  • Using MVC framework with LCCS

    I'm developing a project in PureMVC and seperate skin classes.
    Now there are a few 'view' components available in the lccs sdk, but when I use
    them they require data far away from the skin. The approach we made in the project
    is far from simple but extremely oop based and it's not very nice to use the
    standard components in the sdk.
    When looking to the WebcamSubscriber for instance, I would like to use basic netstreams in the
    skin with live streams. Is there a simple way to get the netstream out of the streamManager
    in the sdk? Or do I need to pull apart the WebcamSubscriber and seperate the code?
    Thanks, Florus

    Ok, sorry for my vague question.
    What I'm trying to do is, creating a skin which has got a minimized amount of intelligent code.
    To show a webcam there should be only a videocomponent for instance.
    That videocomponent can handle netstreams which are created in our framework.
    At the moment we are using all the components in the sdk like WebcamSubscriber, etc  for rapid prototyping.
    But that component needs a lot of data related references like connectsession, etc which I don't like to pass on
    to a skin component.
    So, We've looked into the WebcamSubscriber yesterday and found out that the streammanager is indeed the model
    layer for the WebcamSubscriber but that it is only meta data. The actual netstream used inside the WebcamSubscriber
    is build up on the meta data out of the streammanager. So there's no hard connection between netstreams and streamdescriptors,
    if I'm correct?
    Then we can split most of the code inside WebcamSubscriber and divide the blocks over our framework. And pass
    netstreams to the skin component, which are created in the framework, I would think?
    I hope you understand what I'm trying to achieve, and maybe you've got ideas or advices.
    Thanks, Florus

Maybe you are looking for

  • How do you get SFW5 to create a transport when activating components?

    How do you create a transport in order to transport the activation of a component to the next system in the landscape? In my sandbox system whenever I activate a component no transport is created. I have manually created a transport using system sett

  • PLs. find link between a case and its activities?

    Hi , I need a function module or a table relation  in order to make a link between a case and its activities. and also want to know the relation between *crmd_orderadm_h-guid with SCMGRECP01-PHIO_ID. * Please help me .

  • Working with external data

    Hi, does anybody knows if there's a way to include external data within the extension without modifying the code? Basically I need to deploy my extension using different settings (depending on user credentails). It would be nice if were possible to i

  • Hi i don't have face time in my iphone4 why

    hi i am using iphone 4 and i don't have face time i don't know why

  • Duplicating Nameplate Effects

    I've been messing around trying to duplicate the nameplate title effects in this video with no real success: https://www.youtube.com/watch?v=u9Adrsje1Qs Go to 1:20 to see the effect I want to recreate. Do I need two separate lines for this? Can it be