Migrate from JSF to Struts?

Hi
I have seen some threads in this form regarding migration from Struts to JSF. Most of the posters back then (1999-2003) suggested starting with Struts and then migrating to JSF for production.
Now I have one year of experience with Struts in a Tomcat environment and practically no experience with JSF. My current job involves maintaining JSF code. The boss thinks migrating to Struts would make us independent of the company to whom the JSF project was outsourced.
I would like to know your opinion on migrating from JSF to Struts. How hard is it? Our architecture has Views, View Helpers, Business Context objects, Business Delegate objects, Business Processor objects, DAO (DB2, AS/400), DTO, etc. They seem rich enough semantically when compared with Struts that groups all these under MVC, even though they are complex to manage (job security :).
I'd appreciate your feedback.
Thanks
Murthy

To quote Ron Burdundy, "That doesn't even make any sense!" :) Seriously, though (and I admit a huge bias), that seems like a huge step backward. It seems the logic is this: "We outsourced the development of this system to someone else, and now we're left either maintaining it ourselves or paying them to do it, but, if we rewrite it with $FRAMEWORK, we'll be free of them." Is that right? How is maintaining a Struts app different (frameworks aside) from maintaining a JSF app? This is probably obvious, but that's a step I would neither take nor suggest. :)

Similar Messages

  • Problem migrating from JSF Mojarra 1.2 to 2.0

    As my subject suggests, I am having a problem migrating from JSF 1.2 to JSF 2.0.
    As a first step, all that I had done was to replace both 'jsf-api.jar' and 'jsf-impl.jar' with the newer version 2.0 and restart my server.
    As expected, server failed to publish with the following error message on the console. Any hint on solving this issue is highly appreciated.
    The error message goes as below:
    <Jun 30, 2009 10:31:54 AM PDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application D:\MalcolmX\web. Please make sure that the annotations are valid. The error is com.sun.faces.taglib.jsf_core.BeanValidatorTag>
    <Jun 30, 2009 10:31:54 AM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application '_auto_generated_ear_' due to error weblogic.application.ModuleException: Failed to load webapp: '/'.
    weblogic.application.ModuleException: Failed to load webapp: '/'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: com.sun.faces.taglib.jsf_core.BeanValidatorTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         Truncated. see log file for complete stacktrace
    Thanks.

    SirG wrote:
    As expected, server failedWow :P
    The error message goes as below:
    java.lang.ClassNotFoundException: com.sun.faces.taglib.jsf_core.BeanValidatorTagIs it in classpath? Exception says it is not.
    Don't you have some JSF 1.2 libraries around somewhere else in classpath? Appserver/lib? JDK/lib? Etc. You might have a mix of JSF 1.2 and JSF 2.0 in the classpath and the exception is just been caused by this collision.

  • MIGRATING FROM JSF 1.2 TO JSF 2.0.1 WITH PRIMEFACES

    HELLO!
    I'm migrating to JSF 2.0.1 (mojarra 2.0.1) using PrimeFaces 2.0.
    As I'm comming from JSF 1.2, I still have some libs in my project as jsf-facelets.jar, jstl.jar.
    With JSF 1.2 I was using Tomcat v6 1.4, but I upgrated to Tomcat v6 2.0
    I decided to use primeFaces for my uiComponents and this requires JSF 2.0
    I install primeFaces.jar and download jsf-api.jar and jsf-impl.jar
    I changed my config to 2.0 in my faces-config and the weapp works fine! I'm tryin' to Login using <p:commandButton> (from PrimeFaces) with action attribute, but when the app calls the action from my managedBean, an error appears....
    javax.servlet.ServletException: Erro de argumento: The parameter viewId is null
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:323)
         br.com.webtraffic.big.filter.ExpireFilter.doFilter(ExpireFilter.java:27)
         org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         br.com.webtraffic.big.controller.authorization.AuthorizationViewRedirectionFilter.doFilter(AuthorizationViewRedirectionFilter.java:24)
         org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    root cause
    java.lang.NullPointerException: Erro de argumento: The parameter viewId is null
         com.sun.faces.util.Util.notNull(Util.java:221)
         com.sun.faces.application.view.MultiViewHandler.getActionURL(MultiViewHandler.java:270)
         org.springframework.faces.webflow.FlowViewHandler.getActionURL(FlowViewHandler.java:50)
         com.sun.faces.renderkit.html_basic.FormRenderer.getActionStr(FormRenderer.java:234)
         com.sun.faces.renderkit.html_basic.FormRenderer.encodeBegin(FormRenderer.java:137)
         javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:823)
         javax.faces.component.UIComponent.encodeAll(UIComponent.java:1608)
         javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
         com.sun.faces.application.view.JspViewHandlingStrategy.doRenderView(JspViewHandlingStrategy.java:415)
         com.sun.faces.application.view.JspViewHandlingStrategy.renderView(JspViewHandlingStrategy.java:204)
         com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
         org.springframework.faces.webflow.FlowViewHandler.renderView(FlowViewHandler.java:90)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:127)
         com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:311)
         br.com.webtraffic.big.filter.ExpireFilter.doFilter(ExpireFilter.java:27)
         org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
         br.com.webtraffic.big.controller.authorization.AuthorizationViewRedirectionFilter.doFilter(AuthorizationViewRedirectionFilter.java:24)
         org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
         org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)I think I'm having a Navigation problem, because Navigation of JSF2.0 has new features but I did search and research about it and nothing worked.
    I deleted the FaceletViewHandler tag from faces-config 'cause is not compatible with JSF2.0
    <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
    Anyone knows what possible I can be doing wrong?
    Here's my faces-config:
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
                  version="2.0">
    <application>
         <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>
         <locale-config>
              <default-locale>pt_BR</default-locale>
              <supported-locale>en</supported-locale>
              <supported-locale>es</supported-locale>
         </locale-config>
         <message-bundle>messages</message-bundle>
    </application>
         <navigation-rule>
              <from-view-id>/tools/formLogin.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/tools/index.xhtml</to-view-id>
                   <redirect />
              </navigation-case>
         </navigation-rule>
         <navigation-rule>
              <from-view-id>/tools/formForgotPassword.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>success</from-outcome>
                   <to-view-id>/tools/forgotPasswordSuccess.xhtml</to-view-id>
                   <redirect />
              </navigation-case>
         </navigation-rule>
    </faces-config>Please I'm trying about 2 days...any ideas?
    TKS!

    so once the VM Enviroment is set for 11.1.2.1
    i can just used the Essbase EAS Wizards
    to bring the Applications and Other Objects into the new Enviroment 11.1.2.1
    and then Export the Data from the old Enviroment 11.1.2
    and import into the new Enviroment 11.1.2.1
    Correct ????
    Edited by: Next Level on Jul 28, 2011 7:53 AM
    Edited by: Next Level on Jul 28, 2011 7:57 AM
    Edited by: Next Level on Jul 28, 2011 7:57 AM

  • Migrating from JSF 1.1 to JSF 1.2

    I'm migrating an existing JSF 1.1 application that was based closely on the examples in the Core JavaServer Faces book. I'm having a very specific problem getting pages to render once I log into the application. Specifically the code associated with the TabbedPaneRenderer specified in chapter 9. The application worked fine under JSF 1.1 but after upgrading to 1.2 it seems that the functionality that was provided with the includePage method will no longer work.
    The source code that was implemented is as follows:
       private void includePage(FacesContext fc, UIComponent component) {
         FacesContext     ctx        =  FacesContext.getCurrentInstance();
         VariableResolver vr         =  ctx.getApplication().getVariableResolver();
         ExternalContext  ec         =  fc.getExternalContext();
         ServletContext   sc         =  (ServletContext) ec.getContext();
         UITabbedPane     tabbedPane =  (UITabbedPane) component;
         String           content    =  tabbedPane.getContent();
         ServletRequest  request  = (ServletRequest) ec.getRequest();
         ServletResponse response = (ServletResponse) ec.getResponse();
         try {
           sc.getRequestDispatcher(content).include(request, response);
         } catch (ServletException ex) {
           logError(ctx, vr, "Couldn't load page " + content + ": " + ex);
         } catch (IOException ex) {
           logError(ctx, vr, "Couldn't load page: " + content + ": " + ex);
       }This code is called from the encodeEnd method of the Renderer. Unfortunately the page that is being included never gets rendered. How should this be done in the JSF 1.2 implementation?
    Thanks for the help...

    Hello cmathrusse,
    I just ran across the same issue. We were using JSF 1.1 and tomcat 5 and JDK 1.5 and and Tiles 1.1. We are migrating to JSF 2.0 JDK 1.6 and Tomcat 6 and our Custom Component also doesnt show up. I believe we are in the same situation.
    Did you ever fig out the issue?
    Thanks,
    Tahir

  • Migration from JSF 1.1 to 1.2 using WebLogic 10.3

    I am upgrading my application from JSF 1.1 to JSF 1.2 and to Web Logic 10.3.
    Initially everything seems to be fine when the page displays. Problem occurs only when my page is being submitted. I am getting the following error message on the screen when the form gets submitted.
    - Illegal Syntax for Set Operation
    - MyForm:htmlBoxes: An error occurred when processing your submitted information.My JSF code is:
    <h:selectManyCheckbox id="htmlBoxes" value="#{billsearch.location_types}">
    <f:selectItem itemLabel="#{bundle.senatefile}" itemValue="senfile" />
    <f:selectItem itemLabel="#{bundle.assemfile}" itemValue="assemfile" />
    <f:selectItem itemLabel="#{bundle.sencomm}" itemValue="sencomm" />
    <f:selectItem itemLabel="#{bundle.assemcomm}" itemValue="assemcomm" />
    </h:selectManyCheckbox>Any help on this issued is highly appreciated.
    Thanks
    Edited by: SirGeneral on Oct 7, 2008 11:16 AM

    Hi,
    I'm experience the same problem. Curiosly I developed my app using tomcat 6.0.x and using jsf-api.jar and jsf-impl.jar. Later due the specifications I have changed to tomcat 5.0.28 and jsf-api-1.2.jar and jsf-impl-1.2.jar and I'm getting this error.
    sourceId=main:TP20[severity=(ERROR 2), summary=(main:TP20: An error occurred when processing your submitted information.), detail=(main:TP20: An error occurred when processing your submitted information.)]
    this is ocurred in an HtmlInputText
    Any suggestions??
    need code??
    Thanks

  • Migrating from JSF 1.1 to 1.2

    Hi folks,
    My curent app uses JSF 1.1. I want to move to JSF1.2 which is the latest release. But when I try to deploy my app in Oracle App server after replacing new libs, I am getting error as
    Exception: NoClassDefFoundError: javax/el/ExpressionFactory
    Operation failed with error: javax/el/ExpressionFactory
    I am not able to go farward and I am complete stuck here. Please help me out how solve this migration problem,
    These are the steps I follwed in mgrating,
    1. Download JSF1.2 from net.
    2. Replace old jsf-api.jar , jsf-impl.jar with new jars.
    3. Packed(creating ear) and deployed...
    Please let me know whetehr any wrong in this process..
    Fast respose will be great !!!

    Thanks for your quick replay,
    Currently I don't know, whether My app server supoorts JSP2.1 and servlet2.5. I will check out this.
    Could you please tell how to add facelets to my app server. What are these facelet?
    Once agaian thanks for replay

  • Migration from jsf 1.1 to jsf1.2

    I am trying migrate our application built on JSF 1.1 to JSF 1.2. I am facing lot of porblems during this migration.
    Why are the tag classes marked final in JSF 1.2. We have many Tag classes written in our application overriding these tag classes. Is there any other way of overriding the behaviour of JSF 1.2 tag classes apart from overriding it.
    I also see from the source code, that the tag classes are all generated code. Does it mean we can regenerate it using some build file and make the tag classes non-final.
    Please help.
    Thanks in advance,
    Yetish

    I agree to your point that we need program to an interface and not to an implementation class. But in JSF 1.2 scenario, even if we go ahead and implement it using object composition, we cannot use the Tag classes because of the fact that most of the important methods are marked protected (ex setProperties method of Tag classes) and hence cannot be invoked.
    These methods can be overridden only by a subclass and we cannot subclass a final class.
    I think if the idea is not to override a specific behaviour then that behaviour shoud be made final preventing from overriding and not declare the entire class final.
    Your thoughts please.

  • Migration from jsf 1.2  with spring to JSF 2.0

    Hi guys,
    I have a project written with JSF 1.2 and Spring IOC as bean container and i use Tomcat 6.20, now i see that a lot of people try jsf 2.0, my question is what exactly i need to move to JSF 2.0 , i did a little research and found out that i have to implement my own View scope if i use Spring , here is one implementation example http://cagataycivici.wordpress.com/2010/02/17/port-jsf-2-0s-viewscope-to-spring-3-0/.
    have anybody try this solution?
    so from where i have to start migration? is there any step by step document? the system is already in production and i have to evaluate the risks of migration.
    i use myfaces implementation with richfaces and primefaces . will old tags work under jsf 2.0 ? Please provide me with some information .

    so from where i have to start migration? is there any step by step document? the system is already in production and i have to evaluate the risks of migration.Do you actually NEED Jsf 2.0? The application is already working I presume, so it would seem a huge waste of time, money and effort to migrate it without a good reason to do so. If it isn't broken, don't fix it.
    I'd wait until a new application needs to be implemented and then make the choice to use JSF 2.0. A review of all the changes done in JSF 2.0 can be a good place to start to make the decision.

  • Question on migrating from JSF 1.2 to JSF 2.0

    My application on JSF 1.2 has a fairly large faces-config.xml file. Just the sort of thing that some features of JSF 2.0 is supposed to reduce. However I find that under Glassfish v3 I can't create managed beans with the annotations and no entries in faces-config. I read the JSF 2.0 spec and I can't see any mention of whether a mix of declarations (XML + Annotations) are permitted.
    Can someone tell me if this is supposed to work, and if it is how Glassfish behaves with regard to this?

    Replace the JSF JAR files. There's a Glassfish updater as well. Documentation is just available at the homepage.

  • A problem in JSF migration from 1.1 to 1.2

    Hi all,
    This is Sailaja I am working with a project that is about migrating JSF1.1 to JSF1.2,
    My problem is..
    In my project we have used CommandLinkTag class to develop a custom component when using 1.1
    But in 1.2 vertion CommandLinkTag class designed as "final" so now i am unable to extend the final class so my old code gets problem.
    Please any one provide some solution or else i need some clarification about why they made that class as final,
    Is there any other class developed for that..
    Thanks
    Sailaja N
    Edited by: nsailaja on Aug 24, 2010 5:43 AM

    If the target forest is running Exchange 2003, you aren't 100% wrong in saying it may not be possible. If you are migrating from Exchange 2010 to a new forest, you need to be migrating into an Exchange 2010 organization - downlevel migrations aren't supported,
    to the best of my knowledge. Here are the links supporting Exchange forest migrations, and they specifically say they are for migrations into an Exchange 2010 organization:
    http://blogs.technet.com/b/meamcs/archive/2011/06/10/exchange-2010-cross-forest-migration-step-by-step-guide-part-i.aspx
    https://gallery.technet.microsoft.com/office/Cross-Forest-Migration-7443029c
    http://blogs.technet.com/b/exchange/archive/2010/08/10/3410619.aspx
    http://technet.microsoft.com/en-us/library/dd876952.aspx
    I'm pretty sure that the tools used won't allow you to migrate from Exchange 2010 into Exchange 2003.  I'm sure you can kludge together a migration process that exports mailboxes to PST, then imports them into the target mailboxes, but that would be
    a painful process.

  • About migrating from 10.1.2 to 10.1.3 (page events)

    Hi forum,
    As authentication based on public key certificates only works under jdev 10.1.3.1, I'm upgrading my 10.1.2 application to that version. I'm following the Oracle document "Converting to the ADF Page Lifecycle from 10.1.2" (http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3?topic=adf_convertingfrom10_1_2_html) that it's a really great help. However, this document doesn't explain how to migrate page events. In UIX, a submitButton may have an "event" attribute that fires the method called onEventName in the DataPage class. In ADF Faces, I don't know how to do that. The document previously mentioned doesn't say anything about this topic. The solution I've tryed is the following:
    As document "API Changes from ADF UIX" (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/api-changes.html) explains, submitButton turns into commandButton and event attribute is replaced by an actionlistener. So, in my jspx page:
    <af:commandButton id="myButton" text="Search" actionListener="#{pageCode.listen}"/>
    <af:commandButton id="myOtherButton" text="All" actionListener="#{pageCode.listen}" />
    In faces-config.xml:
    <managed-bean>
    <managed-bean-name>pageCode</managed-bean-name>
    <managed-bean-class>com.mycompany.web.struts.actions.MyPageController</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    In controller class, I replace DataActionContext by PageLifecycleContext in events parameters. Furthermore, a listen method is added:
    public class MyPageController extends PageController
    // I want to migrate this event
    public void onSearch (PageLifecycleContext ctx)
    // code of page event inherited from 10.1.2
    // I want to migrate this event
    public void onAll (PageLifecycleContext ctx)
    // code of page event inherited from 10.1.2
    // This is the method I've just added
    public void listen (ActionEvent e)
    FacesContext context = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getRequest();
    PageLifecycleContext plc = (PageLifecycleContext)request.getAttribute("ADFLifecycleContext");
    String idButton = (String)e.getComponent().getAttributes().get("id");
    if (idButton.equals("myButton"))
    onSearch(plc);
    else if (idButton.equals("myOtherButton"))
    onAll(plc);
    I'd like to know if there is any other simplier way to do event migration from 10.1.2 to 10.1.3.
    Thanks in advance.
    Luis Serrano.

    If you change your view objects to use the new named bind variables in 10.1.3, then you can do what you were doing in prepareModel in a declarative way now using the invokeAction executable in your page definition to trigger the firing of an executeWithParams action.
    You can study example #76 on my blog to see an example of doing this:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#76
    If you want to do things programmatically still, which is fine of course, then you can reference section 10.5.4.3 "Using Custom ADF Page Lifecycle to Invoke an onPageLoad Backing Bean Method" in the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html The key benefit of this approach is that if you have a backing bean for your page, it allows you to put your prepareModel code inside the backing bean in an onPageLoad() method so you don't end up with both a backing bean and a page controller class for that page.
    Of course, you can also still use a customized PageController class and override prepareModel() as you did before. All of these ways are viable.

  • JSF vs Struts - both with tiles

    I'm running in the problem migrating from Struts to JSF.
    In struts I have the following fragments:
    jsp (actualy in the resulting html):
    log4j
    struts-config:
    <forward name="log4j-page" path="doc.log4j"/>
    tiles-config:
    <definition name="doc.log4j" extends="doc.mainLayout">
    <put name="body" value="/WEB-INF/html/examples/log4j.jsp" />
    </definition>
    As a result this links the anchor on jsp page to my 'mainLayout' with 'body' replaced with ...log4j.jsp.
    I found no way to replicate this link in JSF.
    I tried <h:commandLink...> with a certain action. It seems that in faces-config fragment: <to-view-id>foo</to-view-id> JSF framework is always looking for foo.jsp.
    I'm wondering if there is any way of pointing in the faces-config to the definition name in tiles-config.

    Hello,
    There are differences between the two and some similarity. A couple of major differences I have noticed is that in using JSF you have much better control over user events and page response to user actions. The reason why is because JSF uses an event-driven model (e.g., you can write ActionListeners, EventHandlers, and event Dispatchers) to respond to any user activity on the page. Also JSF tags are far more programmer-friendly (in my opinion) than Struts. Another thing I would keep in mind (especially if you are a programmer) is that Craig Mc C. was the developer of both (with help from others); How often have you said to yourself after completing a project "given what I know now, If I started over from scratch I would make it so much better by doing... instead of ..."? Having used Struts for both large and small projects in the past, I really see JSF as a "simpler, leaner, smarter, more intuitive Struts than Struts". I think its much easier to learn and maintain than Struts (of course that depends on your coding style), and here is a key point: JSF will soon have visual drag and drop coding editors that both IBM and Sun will provide, and hopefully an open source version will appear as well. Visual design and development is not for everyone but it certainly has its place (in my opinion).
    I suggest you try create a simple app that includes all of the usual form components (checkboxes, lists, radiobuttons, textareas, submit buttons, etc. though not necessarily all on one page) using JSF and then Struts (or vise versa) then you can have a feel for how simple or complex it is using either for the usual web UI development assignment.
    Cheer,
    KamauObasi

  • Migration from OAS 10g to Weblogic 10.3

    Hello,
    I migrate large app from OAS 10g to Weblogic 10.3.
    1.
    The main part of the job was to prepare descriptors for Weblogic. Unfortunatelly I don't find any tool that could do the job:( There are some problems with descriptors namespaces. This schema and namespaces given in 10.3 docs are not working (not available):
    http://edocs.bea.com/wls/docs103/ejb/DD_defs_reference.html
    So I use the one from 10 release in weblogic-ejb-jar.xml:
    weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/10.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd"&gt;
    and form 9 release in weblogic-cmp-rdbms-jar.xml:
    &lt;weblogic-rdbms-jar xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-rdbms20-persistence.xsd"&gt;
    There are also some bugs in docs about ejb relations.
    After fixing some schema compliance exc this step success.
    2. Next the EJBComplianceChecker - its much more restrictive than OAS verification. So updates in ejb interfaces are necessary. It is not a problem with small app but when there ale a lot of code/branches to migrate it's become a problem. I have been looking for some switch that could help with this but with no result/
    EJBComplianceChecker - Spec veryfication level
    3. Now after EJB compliance checker done its job with success I have an exception that I do not understand:
    An error occurred during activation of changes, please see the log for details.
    Exception
    preparing module: EJBModule(corpo_ejb.jar)
    Unable to deploy EJB: corpo_ejb.jar from corpo_ejb.jar:
    There are 1 nested errors:
    java.io.IOException: JDT compilation error! at
    weblogic.ejb.container.ejbc.CompilerForJDT.compile(CompilerForJDT.java:66)
    at
    weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:357)
    at
    JDT compilation error!
    Could you please give me some point where the problem could be? I don't have any idea where to start looking for..
    What are your experiences with migrations from OAS to Weblogic 10?
    Thanks in advance!
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:00 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:01 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:02 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 4:04 AM
    Edited by: Stoigniew Sztank on Oct 10, 2008 8:05 AM

    Hi Stoigniew Sztank,
    I am working on migrating Enterpirse application developed using Struts, Ejb2.0, JMS. Its been deployed on OAS 10G and Websphere, but I need to deploy the application on Weblogic 10.3. It seems you have migrated a J2ee application from OAS 10G to Weblogic 10.3. Please can you list me the steps that you followed to migrate the application.
    As per my understanding follwing things needsto be taken care of:-
    1) Weblogic Descriptor files:
    1.1 Weblogic.xml:- we added security roles and ejb-reference-description for the ejbs.
    1.2 Weblogic-ejb-jar.xml for all the ejbs used in the application.
    1.3 Weblogic-application.xml
    1.4 Resource Adapter
    2) JMS queue set up
    3) JDBC set up
    It would be a great help if you can let me know what are the steps to migrate the application.
    Thanks and Regards
    Deepak Dani

  • JSF And Struts Integration

    Can any body give some info on integration of JSF to existing struts application

    I describe the main differences between JSF and Struts in this sample Chapter from my JSF book:
    http://www.oreilly.com/catalog/jsvrfaces/chapter/ch01.pdf
    Hope that helps.

  • JSF and Struts - differences and integration goal.

    I am a newbie J2EE developer and I am not clear about main differences between JSF and Struts also I saw couple of articles describing integration between JSF and Struts. Could someone give me an explanation, what the main conceptual differences between those technologies and what's the goal of integration both of them?

    I describe the main differences between JSF and Struts in this sample Chapter from my JSF book:
    http://www.oreilly.com/catalog/jsvrfaces/chapter/ch01.pdf
    Hope that helps.

Maybe you are looking for