Results 1 to 4 of 4

Thread: Accessing spring app with SAP

  1. #1
    Join Date
    Dec 2004
    Location
    Vancouver, BC
    Posts
    80

    Default Accessing spring app with SAP

    We are migrating our application to be available via the Portal engine in SAP, and was curious if others have crossed this bridge.

    Now I need to access the ApplicationContext from the portal runtime too. I believe it must use the same instance of the ApplicationContext as the app deployed on the J2EE container, mainly because we have toplink doing the O-R, and want to share the same object cache.

    So now I am looking for the best way to make the ApplicationContext available within the Portal code.

    A little more background, because we are still in the process of migrating the existing code to spring, i have employed a singleton to represent the bean factory, until i retrofit the servlets to access it via the servlet context.

    My thought was I would put the applicationcontext in the jndi tree, and get it from the portlet code...does that sound good? Any suggestions?

    thanks

    Craig

  2. #2
    Join Date
    Dec 2004
    Location
    Vancouver, BC
    Posts
    80

    Default upon more thought

    After some more thought, I think I see the flaws in my plan.

    Instead I should create the SAP views within a web app which references the existing application. When i want to deploy on SAP i just deploy them together. When i deploy it in a non-SAP environment I just deploy the original .war file.

    This better?

    thanks

    Craig

  3. #3
    Join Date
    Feb 2007
    Posts
    1

    Default

    Craig,

    I am currently developing a Spring application for development in SAP J2EE App server and Portal server. Do I need to developer iView for all the JSPs and controllers in my system?

    Andi Giri

  4. #4
    Join Date
    Sep 2009
    Posts
    1

    Default SAP Training videos

    hi,


    has anyone bought the training videos on www.sapjuice.com?
    is it worth buying? please advice....

    Thanks,
    Alian

Similar Threads

  1. Spring MVC Web Framework versus Struts
    By biguniverse in forum Web Flow
    Replies: 27
    Last Post: Aug 29th, 2012, 03:57 AM
  2. Replies: 13
    Last Post: Jan 5th, 2007, 11:22 PM
  3. Spring accessing other non Spring Web Services
    By aanecito in forum Architecture
    Replies: 1
    Last Post: Jun 17th, 2005, 04:42 AM
  4. Replies: 0
    Last Post: Mar 8th, 2005, 10:00 PM
  5. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •