Question about how to integrate struts web application into Weblogic Portal

hi, I'm using Weblogic8.1 Portal and workshop to integrate my existing struts web applications. I know that the struts web application can be imported and integrated as a portlet. But I'm not sure how to integrate the corresponding EJB module into portal?
any help appreciated!!

should be simple...
copy all the jpfs and other classes appropriately into a new portal app.
Create a new Java Page Flow portlet.
That should be it.
The major thing to watch for is how your navigation etc change.
Kunal Mittal

Similar Messages

  • How to integrate BeX Web Applications into Solution Manager

    Dear All,
    I am integrating the BeX Web Applications into Solution Manager. My Scenario is to add a button named 'Support' wherein when I click the button it should take me to the solman BSP Page. I have saved the two templates - oadhoc & 0adhoc_table by making it 'Z' and added a button in Zadhoc_table. but when I click the button it is not picking the values of an object from the first template.
    Kindly help me to get the solution.
    Best Regards,
    Priya

    Basis Team,
    Please check this document link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad0a4b07-0301-0010-5095-ef7615676fc0
    Hope this document link helps you.
    Thanks
    Mona

  • How to use servlets in portal web application in Weblogic Portal 4.0

    We are developing a Portal Web application using Weblogic Portal 4.0 where in we
    have the following scenario. one JSP in webflow of a portlet calls the PipeLine
    which does some processing and calls the servlet which is having the typical download
    functionality. The servlet is supposed to read the data from the pipeline session
    and create a CSV String that is dumped to the client browser. The problem is even
    we are doing response.setContentType("application/save") in the servlet it is
    still displaying the content as html in the portlet. I guess since all our request
    are send to the webflow contolling servlet and it is setting the content type
    and hence our servlet is not working. How do I solve this problem? Thanks Yogesh

    Hi Renu
    Please go through the SAP Content Management here you find the documents related to Wab page Compoer and knowledge mangement. Also search for article / blog for more details.
    [http://www.sdn.sap.com/irj/sdn/nw-ecm|http://www.sdn.sap.com/irj/sdn/nw-ecm]
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • How to integrate custom web application within Fusion Environment?

    Hi all,
    I have created a simple custom web application with JDeveloper (11.1.1.6.2).
    From JDeveloper this application is running successfully through the IntegratedWebLogicServer connected with our Fusion Database.
    Now I want to integrate this custom web application within our our Fusion Environment (11.1.4).
    The final goal is to make it available inside the navigator menu in Fusion Applications.
    I need some guidance how to get this done.
    For example I have created an EAR-file. Where should this file be deployed?
    How can I create an entry in the navigation menu pointing to this web application?
    The web application should be handled just like seeded pages. (no additional security, login, etc.) How do I manage that?
    I have checked several Oracle Guides and forums (also blogs.oracle.com/fadevrel), but still it is not clear to me.
    Maybe I am on the wrong track, I don't know.
    Kind regards,
    Cor van Dongen

    How you deploy your EAR depends on the type of environment you have. For "OnSite" deployment you would need to contact the production system administrator to have your application deployed on the production WLS. The administrator would decide where and how the application is deployed, the process would be specific to the site.
    The security behavior depends on the configuration, e.g. when you enable security on your application various [url http://docs.oracle.com/cd/E14571_01/web.1111/b31974/adding_security.htm#BGBDEHFH]files are created / updated. When deployed to production these configurations need to be changed to suite the production instance, i.e. in development environments authentication is enforced by security constraints while in production this is achieved e.g. using OAM policies. The specific details depend on the instance.
    For Cloud environments you would need to deploy the application e.g. on [url https://cloud.oracle.com/mycloud/f?p=service:home:0]Java Cloud Service instance as applications cannot be deployed on the Cloud production instance.
    To integrate with the navigator menu refer to the [url http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e16691/ext_nm.htm]Customizing the Navigator Menu documentation.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • How to manage Struts web application unavailbility ?

    Hello !
    I have a web application (portal) based on Struts framework. And I am wondering how is the best way to manage the portal unavailbility (for maintenance reasons for example) ?
    We can deploy a new web application/page saying that "the portal is unavailable for the moment" but it is a heavy solution and not proper for people that are currently using the portal. So not good.
    Maybe I should check in the init Action of the portal in a database if the portal is available or not... but how to manage people who are currently logged in ? should I check this state in each action of the portal ? it is quite repetitive...
    Do you have any idea ?
    Thanks for advice.

    The simplest, lowest impact, lowest risk solution would be to use a filter:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class AvailabilityFilter
    implements Filter
       // private member variables for connection url/user/pass or JNDI
       // resource name
       // private getters and setters
       public void init( FilterConfig config )
          // Read necessary filter init-params here, like connection parameters
          // or the JNDI resource name of a connection pool used to determine
          // availability.
       public void destroy( )
       public void doFilter( ServletRequest request, ServletResponse response, FilterChain filterChain )
          if( this.isAvailable( ) )
             filterChain.doFilter( request, response );
          else if( response instanceof HttpServletResponse )
             HttpServletResponse httpResponse = (HttpServletResponse)response;
             response.sendError( 503, "Application temporarily unavailable" );
          else
             response.getWriter( ).println( "Application temporarily unavailable" );
             response.getWriter( ).close( );
       private boolean isAvailable( )
          // Attempt to connection to the database and/or check availability status
          // Return true if available, false otherwise
    }Now, as far as managing existing user sessions goes, you can also implement an HttpSessionListener to track sessions:
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class SessionTracker
    implements HttpSessionListener
        private static Map activeSessions = new HashMap( );
        public void sessionCreated( HttpSessionEvent event )
            HttpSession session = event.getSession( );
            synchronized( activeSessions )
               activeSessions.put( session.getId( ), session );
        public void sessionDestroyed( HttpSessionEvent event )
            HttpSession session = event.getSession( );
            synchronized( activeSessions )
               activeSessions.remove( session.getId( ) );
        public static void closeAllSessions( )
            synchronized( activeSessions )
                for( Iterator i = activeSessions.entrySet( ).iterator( ); i.hasNext( ); )
                    Map.Entry entry = (Map.Entry)i.next( );
                    String sessionId = (String)entry.getKey( );
                    HttpSession session = (HttpSession)entry.getValue( );
                    session.invalidate( );
                    i.remove( );
    }Some user event could call a servlet which would set a flag in the DB marking it as down for maintenance and then call the static method SessionTracker.closeAllSessions( ), which effectively logs everyone out. Any attempts to access the app after that period would fail; the filter would try to connect and/or check the flag in the DB and would throw an HTTP 503 instead of executing the rest of the filter chain. No reconfiguration would ever be necessary, and you wouldn't be changing code, just adding these two new classes and a couple of entries in web.xml.
    Hope that helps,
    - Jesse

  • Integrate a web application to a portal

    I need some information or pointers (even better) and answers to 2
    questions
    1. I have a web app using jsps and servlets. If I want to integrate
    this app to a portal, what is the right approach? (considering the
    fact that the app have a lot of jsp)
    Assuming portlet is the way to go; how should I merge the user
    interface of my existing app to the portlet?
    2. Is web services only provided data, but not including any kind of
    format information e.g. html tags?
    thank you
    -Daniel Chau

    With regard to your first question - porting web-app to portal, you will need to
    focus on 2 areas:
    1. Navigation between pages within your current web-app. These will need to be
    ported to the BEA workflow framework so URLs can be resolved at run-time by the
    portal framework.
    2. Access control. If you have access control - then you will need to port this
    to the portal framework.
    Outside of these 2 issues - what you need to do - from a high level - is create
    a portlet which will house your web-app and move your jsp / other resources to
    the portlet directory. Update the web.xml file to reflect any resources you are
    using or special configuration, e.g., tag-libs.....
    Sorry i don't understand your second question...
    [email protected] (Daniel Chau) wrote:
    I need some information or pointers (even better) and answers to 2
    questions
    1. I have a web app using jsps and servlets. If I want to integrate
    this app to a portal, what is the right approach? (considering the
    fact that the app have a lot of jsp)
    Assuming portlet is the way to go; how should I merge the user
    interface of my existing app to the portlet?
    2. Is web services only provided data, but not including any kind of
    format information e.g. html tags?
    thank you
    -Daniel Chau

  • How create iViews to integrate remote CE applications into central portal ?

    Hello,
    Our Central corporate Portal is a SAP Netweaver 7.0 EHP1, we also have a CE 7.1 Portal (Netweaver 7.1).
    As explained in SAP demo, we now have the possibility to integrate into the central portal , remote java applications deployed on Composite Environnement 7.1, by using the Application Integrator, meaning that we can create Portal iViews that will integrate the CE 7.1 application similar to any other application integrated into the portal.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/50786c8a-8138-2c10-f883-e157347a95a6&overridelayout=true
    The upside of this strategy is that you do not need anymore to define a Federated Portal Network. (FPN)
    I tried to create the afordmentionned iviews in the Central Portal, but I couldn't,  in the Portal Content, I created the new Iview :
    --->iView template - create an iView from an existing iView template
    --->Remote Application Integration iView (Web Dynpro Java)
    --->I gave the Iview a name and an ID, then I had the following error message
    Step 3:
    The template you selected allows you create local iViews that run a remote Web Dynpro Java application deployed on a different portal installation.
    Choose the producer portal to which the remote Web Dynpro Java application has been deployed.
    Note: Make sure that a system administrator has created and registered a connection to the relevant producer portal.
    EMPTY_REMOTE_PORTALS_LIST
    I seems that the system is reacting as if I was trying to setup a FPN. But I have no producer portal nor consumer portal, I just want to use the Application Integrator.
    Any help on this issue would be really appreciated.
    Best Regards.
    Raoul

    Hi Raoul,
    I have the same problem and can't create remote Application Integration iview(Web Dynpro Java) and have message  EMPTY_REMOTE_PORTALS_LIST
    Did you solve this problem? If you solve it, could you share experience.
    Regards
    Dmitriy
    Edited by: Dmitry Korolev on Jan 19, 2010 9:27 AM

  • How to integrate a Java Application in the portal

    Hi:
    I have developed a pure and simple Java Application just like a test, only Java, no EJB, no JSP. JUST PURE JAVA. I need to put this application in my Oracle9iAS Portal and i've found something about developing EAR and WAR. But i can't find the way to put my app in the portal.
    Does anybody know how can i put my app in the portal? or what should i do?
    Thank you.

    Hi:
    I have developed a pure and simple Java Application just like a test, only Java, no EJB, no JSP. JUST PURE JAVA. I need to put this application in my Oracle9iAS Portal and i've found something about developing EAR and WAR. But i can't find the way to put my app in the portal.
    Does anybody know how can i put my app in the portal? or what should i do?
    Thank you.

  • How to integrate two Siebel Applications into single app UI

    Dear All,
    Currently we have a Siebel application which is running with various Siebel modules. Like for example in one single application object manager we are having various screens and views related to various modules like UCM, Loyalty, Marketing etc.
    But due to some operational reasons, we would like to deploy few modules as applications on different machines.For example we will install a separate Marketing application on a server and loyalty on a separate server.
    How can we integrate all these applications installed in different different machines in a single App Object Manager to provide a single UI interface for the user.
    So even after segregating into different applications, we would like to have single app UI for user.
    Please suggest if it already being implemented in such a way anywhere.
    Regards

    Hello...
    Siebel offers many great options to help you implement your business needs. siebel bookshelf is very well documented...we can also connect you with a few great system integrators that could help you architect your siebel implementation? best wishes for this holiday season...
    Regards,
    Sylvia Fong Ny- GERMAIN SOFTWARE - Performance Monitoring Software for Siebel CRM
    21 Columbus Avenue, Suite 221, San Francisco, CA 94111, USA
    [email protected], http://www.germainsoftware.com

  • How to deploy my web application .war file into SAP netweaver Engine

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance
    JM

    You may need to convert the .war archive to SDA/SCA file  format before deploying it to SAP Netweaver Engine.
    Check out the below SAP NOTE if it is usefull.
    Note 1223957 - Usage of NetWeaver Packaging Tool.
    Apart from SDM you can also deploy the files through telnet...
    Note 859444 - How to deploy libraries on J2EE Engine 6.40
    1)Connect to telnet as below
    Start --> Run
    telnet hostname/ip address portno
    Ex: telnet xxx.xx.xx.x 5<Instance no>08
    2)Login with administrator id:
    Use the below command to deploy the files.
    deploy <directory path to the SDAs location> version_rule=all on_prerequisite_error=stop on_deploy_error=stop
    Example: deploy E:\usr\sap\trans\EPS\in\VCBASE03_0-10006939.SCA version_rule=all on_prerequisite_error=stop on_deploy_error=stop.
    Also have a look at this note which talks about the error you are getting.
    Note 1171457 - IllFormattedSduManifest/SduFileException during deployment
    Hope it helps.
    Edited by: Khaiser Khan Mohammed on Nov 7, 2010 12:17 PM

  • Integrate vb client application to iplanet portal server

    how to integrate 3rd party applications to iplanet portal server

    If the application is entirely win32 based, you might wan't to have a look at the 3rd party products, such as tarentella, citrix or graphon. iPS allows secure sessions to be set up with these applications via the portal the desktop.

  • Hello! I have a huge question about how can I get connected my iphone 4 with my car Is there any opption on find my car application? I have a Volvo xc60 and I want to be connected all the time with my iphone. Can I do that?

    Hello! I have a huge question about how can I get connected my iphone 4 with my car Is there any opption on find my car application? I have a Volvo xc60 and I want to be connected all the time with my iphone. Can I do that?

    Hello. I can say that you have a quite strange „huge question”… It’s non-sense to stay connected with your car which is hundreds miles away. Unless…
    I have a theory. You don’t want to controll your car, you want to controll somebody who is driving the car. Volvo XC 60 is a nice family car, usually used by married men between age of 35-45, probably with small children, so it’s very unlikely that you want to controll your teanage kid, mainly because probably even if you would give him/her to drive the car in the neighborhoud, I don’t think that he/she would be „several hundred miles away”…  If your child is not young teneage anymore, and he/she has his/her own life, but you want to control him/her, that is sick… So I am convinced that you want to controll your husband who probably travelling often! Am I wright?
    Isnt’t nice at all! Would you like if you would be monitorized in such way? I bet you don’t!
    Anyway, iPhone is smart, you can use for many things, but come on, you really were thinking that there is such kind of application???
    What could you do it's to put in the car a GPS survelling system, however I don't think that you could do it without your husband knowledge, otherwise he won't be able to start the engine...

  • From a Technical Architect point of view, how to design a web application?

    Hi to all,
    I am writing this issue here because I this question is not related on how to program, but on how to design a web application. That is, this question is not related to how to program with the technologies in J2EE, but how to use them correctly to achieve a desired outcome.
    Basically I know how to develop a simple web application. I like to use SpringFramework with AcegiSecurity and Hibernate Framework to persist my data. I usually use JBoss to deploy my web applications, however I could easily use Tomcat or Jetty (Since I am not using EJB�s).
    However I have no idea on how to develop (or a better word would be �design�) a website which is divided into different modules.
    Usually when you develop a website, you have certain areas that are public, and other areas that are not. For example, a company would want anyone on the Internet to download information about the products they are selling, however they would only want their employees to download certain restricted information.
    Personally I try to categorise this scenario in to common words; Extranet and Intranet.
    But � (and here starts the confusion in my mind) should I treat these two as two projects, or as one project? The content to be displayed on the Extranet is much different then the content to be displayed on the Intranet and definitely clients should not be allowed to the Intranet.
    First approach would be to treat them as the same project. This would be perfect, since if the company (one day) decides to change the layout of the website, then the design would change for both the Intranet and the Extranet version. Also the system has a common login screen, that is I would only need to have employees to have a certain Role so that they have access to the intranet, while clients would not have a certain Role and thus they would not be allowed in. But what about performance and scalability? What if the Intranet and Extranet have to be deployed on the different Hardware!?
    The second approach is to threat them as two separate projects. To keep the same layout you just copy & paste the layout from one project to another. However we would not want to have two different databases to store our users, one for the employees and the other one for the clients. Therefore we would build a CAS server for authentication purposes. Both the Intranet and the Extranet would use the same CAS server to login however they could be deployed on different hardware. However what if we want to change the design. Do we really want to have to just copy and paste elements from one project to another? We all know how these things finish! �We do not have time for that � just change the Extranet and leave the Intranet as it is!�
    The third approach (and this is the one I like most) is to have a single project built into different WAR files. The common elements would be placed in all WAR files. However in development you would only need to change once and the effects would show in the different war files. The problem with this approach is that the project will be very big. Also, you will still need to define configuration files for each one of them (2 Web.config, 2 Spring-Servlet.config, 2 acegi-security.config, etc).
    Basically I would like something in the middle of approach 2 and approach 3! However I can identify what this approach is. Also I can not understand if there is even a better approach then these three! I always keep in mind that there can always be more then two modules (that is not only Intranet and Extranet).
    Anyways, it is already too long this post. Any comments are more then welcome and appreciated.
    Thanks & Regards,
    Sim085

    Hi to all,
    First of all thanks for the interest shown and for the replies. I do know what MVC or Multi-layered design is and I develop all my websites in that way.
    Basically I have read a lot of books about Domain-Driven Design. I divide my web applications into 4 layers. The first layer is the presentation layer. Then I have the Facade layer and after that I have a Service layer (Sometimes I join these two together if the web application is small enough). Finally I have the Data Access layer where lately I use Hibernate to persist my object in the database.
    I do not have problems to understand how layering a web application works and why it is required. My problem is how to design and develop web applications with different concerns that use same resources. Let me give an example:
    Imagine a Supermarket. The owner of the Supermarket want to sell products from the website, however he wants to also be able to insert new products from the website itself. This means that we have two different websites that make use of the same resources.
    The first website is for the Supermarket clients. The clients can create an account. Then they can view products and order them. From the above description we can see that in our domain model we will have definitely an object Account and an object Product (I am not mentioning all of them). In the Data Access layer we will have repository objects that will be used to persist the Account and Products.
    The second website is for the Supermarket employees. The employees still need to have an account. Also there is still a product object. This means that Account and Product objects are common to the two websites.
    Also important to mention is the style (CSS). The Supermarket owner would like to have the same style for both websites.
    Now I would not like to just copy & paste the objects and elements that are common to both websites into the two different projects since this would mean that I have to always repeat the changes I make in one website, inside the other one.
    Having a single WAR file with both websites is not an option either because I would not like to have to deploy both websites on the same server because of performance and scalability issues.
    Basically so far I have tought of putting the common elements in a Jar File which would be found on the two different servers. However I am not sure if this is the best approach.
    As you can see my problem is not about layering. I know what layering is and agree with both of you on its importance.
    My question is: What is the best approach to have the same resources available for different websites? This includes Class Files, CSS Files, JavaScript Files, etc.
    Thanks & Regards,
    Sim085

  • How to integrate deployed Web Services and Portlets

    Hi All,
    I am able to deploy Web Services and Portlets in the Application Server, which is in the network system.Now, I want to know how to integrate the Web Services and Portlets.I dont have any idea about this and i didn't got any good material..
    Please, provide some useful links or material, if anybody has any idea about this.
    Thanks in advance.
    Praphul

    You can consume a Web service from a JSF page for example using the ADF Web service data control:
    http://www.oracle.com/technology/obe/obe11jdev/bulldog/webservices/ws.html
    http://www.oracle.com/technology/obe/obe11jdev/11/wsdc/wsdc.htm
    You can turn these JSF pages into portlets using WebCenter's JSF to Portlet bridge.
    http://www.oracle.com/technology/products/jdev/11/cuecards111/jps_set_62/ccset62_ALL.html

  • Questions about ABAP Unit (Integrate in class / encapsulate DB access)

    Hi,
    i have allready done some Unit Tests. Till this post i have created a report and put my test class definition / implementation there. The report is just a wrapper for testing. The functionallity is impelemented in classes.
    My first Question is how to integrate the test code in my class. In all examples they put the code beneath the class implementation. How do i get there? In se80 i can only see the public definition.
    The other question is about testing methods, which contains database access. How can i encapsulate the db access for tests. I read abput implementing a seperate class, which handles all db related actions.
    Bye Richard.

    Hello Richard,
    it is recommended to keep the domain code and the test code within the same program. Depending on the release in use a Class-Pool (program) offers an implementation include (for any local class) or possibly also a dedicaded test class include.
    Put the definition and the implementation of your unit test into one of this includes.
    In case your code under test has hard to test dependencies you need to break them. After the hard to test dependency (such as repository access) is separated it can be replaced by use of test doubles (see also http://www.xunitpatterns.com).
    Propably the following approach is the easiest one:
    - put any db access into a separate method
    - create a local subclass as test double that overwrites exactely the db access methods with test friendly code
    - run your unit test logic against this local test double
    The say "cleaner" way is to:
    - separate the db access to a dedicated repository service class (with instance methods of course).
    - create a test double of this repository class
    - use the technique "dependency injection" and run your test
    Best Regards
      Klaus

Maybe you are looking for

  • QT10.1 will not open .wmv file after upgrade to 10.7.4

    Hi Qt 10.1 will no longer open .wmv files after upgrading to 10.7.4.  I have the latest version of flip for mac.  They will opwn in QT7 pro but does anybody have a fix for this problem at all?  Thanks in advance. 

  • Can i use Logitech G27 racing wheel on my iMac by installing Windows 7 on Bootcamp?

    Will the Logitech G27 racing wheel be fully compatible with iMac if i install Windows 7 on it by using Bootcamp? Can i use all the functions of the Logitech G27 without any problems if i install Windows 7 on my iMac using Bootcamp? Please help me! Th

  • How do i wipe my Mac OS X 10.6.8

    Hardware Overview:   Model Name: MacBook   Model Identifier: MacBook5,2   Processor Name: Intel Core 2 Duo   Processor Speed: 2.13 GHz   Number Of Processors: 1   Total Number Of Cores: 2   L2 Cache: 3 MB   Memory: 4 GB   Bus Speed: 1.07 GHz   Boot R

  • Cannot add a new page to iWeb

    Already made some iWeb sites, but can't add a new page anymore. Any idea?

  • Table header cell dividers

    Is there a way to have to make the cells divider lines in a table header be a custom thickness. with different thicknesses on different pages. I am thinking there is no way to do this inside of FM 8. And would that be changed in the read and write or