Idea ? web interface + java standalone application

Hello,
I would provide a java standalone application. In parallel, I want create web interface (HTML+CSS+JS) that can write configuration files and read output files.
Can I avoid the use of tomcat server ? May be, I know nice solution like jetty : is-it difficult ?
Anyway, I'm looking for any piece of advice ..
Thanks,
From France
Edited by: phpvik on May 4, 2009 8:10 AM

What are the technical requirements? Just choose the server based on that.

Similar Messages

  • How to create a user in UME Database using web dynpro java custom application

    Hi,
    Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
    My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
    Please suggest me.
    Thanks and Regards,
    Amit

    Hi Amit,
    Generated Documentation (Untitled)
    This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
    You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
    Hope it helps,
    D.

  • Creating a user in EP using a java standalone application

    Hi,
      I am trying to create a java application to create a user in Enterprise Portal.
      I am getting the following error:
    com.sap.security.api.UMRuntimeException: Cannot lookup ManageConnectionFactory "jdbc/sapep". Possible reasons: 1) The connector in which ManagedConnectionFactory "jdbc/sapep" is defined is not deployed or not started, 2) Cannot deserialize object due to a naming exception.
    ume.db.connection_pool_type=jdbc/sapep
    ume.db.connection_pool.j2ee.xatransactions_used=false
    ume.db.connection_pool.j2ee.is_unicode=true
    ume.db.connection_pool.j2ee.oracle_native_driver_used=false: Cannot lookup ManageConnectionFactory "jdbc/sapep". Possible reasons: 1) The connector in which ManagedConnectionFactory "jdbc/sapep" is defined is not deployed or not started, 2) Cannot deserialize object due to a naming exception.
      Q1. Is it possible to create user from java standalone application.
      Q2. Pls. help to resolve the error or give any sample code if you have
      Thanks in advance.
    Regards,
      Pratik

    Hi Ravi,
    How about something like this:
    IUserMaint user = UMFactory.getUserFactory().newUser("myNewUser");
    user.setFirstName("1st Name");
    user.setLastName("2nd Name");
    user.setEmail("[email protected]");
    user.save();
    user.commit();
    IUserAccount uacc = UMFactory.getUserAccountFactory().newUserAccount("myNewUser", user.getUniqueID());
    uacc.setPassword("initial");
    uacc.setPasswordChangeRequired(false);
    uacc.save();
    uacc.commit();
    Hope this helps.
    Daniel

  • Integration of Web Interface of a Application in portal for external users

    Hello portal experts,
    our portal can be accessed from the internet (per ISA-Server and https). We have some applications that should be integrated in the portal.
    This application having a web interface that should be used in this context. It's easy to do this for our interal users which could access the web interface of the applications directly.
    But our requirement is to make this application accessible for our external users, too. I have tried a lot with the URL-iView and the server side fetching mode. The first page is shown but with broken images and the buttons are not clickable (Javascript not working).
    Is it possible to use the portal as a kind of proxy that would get the request from the client and forward this to the application in the intranet or is the only way to match our requirement in making the applications accessible directly from the internet? Is there any other solution?
    Best regards
    Florian

    Hi Florian,
    No its not possible to use the SAP Portal as web proxy to your other web-app.
    From my experiance I can tell you to stop searching/trying on the serverside fetching part, it wil not do wat you want.
    There is only one solution direction and that is that you place some kind of reverse proxy in front of your Portal...
    This reverse proxy solution (I keap it abstract as there are multiple solutions for this) should listen on the WWW and translate requests to the right servers.
    For example calls to "/" could be translated to "/irj/portal/" and back
    But also "/yourotherapp" can be translated to "http://yourotherappserver:port/yourotherapp and back
    Resulting in that all calls to http://yourexternalurl/ will go to SAP Portal and all requests to http://yourexternalurl/yourotherapp will go to your other app. When this works you can use the URL or Intergrater iView using the default client side fetching.
    I know that it is possible with Apache as a reverse proxy so I guess (and hope for you) that its also possible with ISA.
    Good luck,
    Benjamin Houttuin

  • How to call a servlet  by  java standalone application

    //program related to calling a servlet by java standalone application and printing the response on console
    import java.io.*;
    import java.util.*;
    import java.lang.Object;
    import java.net.*;
    public class Program
         public static void main(String s[])
         System.out.println("Hello this programm defines about how to call a servlet with a java application ");
         try{
              URL servlet = new URL("http://localhost:8080/anchor/studentform.html");
              URLConnection conn=servlet.openConnection();
              conn.setDoOutput(true);
              InputStreamReader isr=new InputStreamReader(conn.getInputStream());
              BufferedReader br = new BufferedReader(isr);
              String str =br.readLine();
              System.out.println("Source code is" +str);          
         catch(IOException e)
         System.out.println("exception is" +e);
    i am able to read only one line of the form, please help me out to read the whole form (file)

    You are only reading one line? Why aren't you reading the data in a loop? E.g. a while loop. (Keep reading till readLine returns null)
    Kaj

  • Integrate Java standalone application when WIndows start

    Hello everybody.I would like to ask you if it is possible to load a Java standalone application when any Windows platform (NT/2000/98/XP) starts.
    How can I integrate an application when WIndows start?Do I have to include the bat file(which callls the java applictaion) into a Windows system file?
    Regards.

    You can do one of several things:
    1. Write a native executable that runs the Java Archive (JAR) using the java shell command.
    2. Write a Windows shortcut that runs the java shell command (again passing in the JAR).
    3. Purchase software that will produce a native executable that will run the JAR for you.
    4. Integrate JAR files as executable programs into your Kernel. In Windows this is not easy, but again, there are solutions on the Internet, but you will most likely have to purchase these.
    5. Configure the JAR file type so that when any JAR file type is double-clicked (and the default action is performed), the Java runtime is executed with the JAR as a parameter.
    5 is my usual solution, and for operating systems like Linux, and especially MacOS, it is much easier to get JARs to run 'more natively'.
    The answer to your question is simply 'Yes' but it is your choice of how to do this.
    As far as running the JAR when your desktop starts up (Explorer in this case), you can do two things - firstly there's a 'Run' item in your registery where you can place the location of your shortcut / executable, secondly, you can simply put the short-cut or the executable (I recommend a shortcut) in your 'Startup' folder of your Start Menu. (Start -> Programs -> Startup).
    I hope this helps.
    Gen.
    http://www.opetec.com/

  • Which Web AS Java  (standalone) parameters can be monitored?

    Dear all,
    I am looking for a document/documentation which is listing all Web AS Java parameters (standalone system) which can be monitored.
    Do you know of such a document? If yes, could you please point me to it? I have been searching various sap pages but could not find a complete liste of these parameters.
    Thank you already very much in advance!
    Best regards,
    Helga

    You need to register the CCMS agent sapccmsr with Java stack. This will then result in the Java alerts being forwarded to the Solution Manager.
    Registering the agent is done through Visual Admin in the Java stack.
    Following should give you a starting point on how to do this:
    http://help.sap.com/saphelp_nw04/helpdata/en/b7/95ae409567912ae10000000a155106/content.htm

  • Which is the best and user freindly IDE for developing Java GUI application

    Please advice me if there is any good IDE for developing all kind of Java applications.
    I m confused about which IDE to use.
    I have Searched on Net also. and most of the answers i found was for JBuilder and JBoss.
    But cant confirm until u guys suggest me.
    Because i think this is the best place to ask questions about java.
    Please advice

    If you're developing JSPs and Servlets....
    I've found that using Eclipse (which is free) coupled with the MyEclipse plug-in (an advanced J2EE specific plug-in which costs $29.99USD/year) was the best for me. I've tried several free J2EE Eclipse plug-ins, didn't like them. Wasn't a big fan of NetBeans either, but I liked it tons better than the other Eclipse plug-ins.
    Therefore, IMHO for free I'd go with NetBeans, for a small fee I'd go with Eclipse/MyEclipse plug-in.
    If you are new to J2EE but not to Java, you may want to consider going straight to JSF and Sun's Java Studio Creator. This is not free, but the fee is one-time and development is (mostly) visual using Java Studio Creator.

  • Meeting place web interface java problem

    Hi,
    we have meeting place 5.3 in our network. When users want to log in to a meeting, internet explorer does not open the meeting place screen in some of the pc's, due to java issues possibly. Is there a known work-around for this?
    ps. latest java runtime environment is installed on the machines.

    There are no known major issues when using MeetingPlace with IE. Did u try restarting?

  • Weblog for Simple way to debug ESS and MSS Web Dynpro Java applications

    Here is the link to the new Weblog topic "Simple way to debug ESS and MSS Web Dynpro Java applications"
    /people/yugandhar.reddy/blog/2011/03/26/simple-way-to-debug-ess-and-mss-web-dynpro-java-based-applications--very-useful-technique

    Thanks Siddharth. I was trying as you suggested, I was trying to add the link to the FAQ's but looks like the wiki is locked or I dont have permission to create a page in it. Is there any other way to do it?
    Edited by: Yugandhar  Reddy on Mar 28, 2011 5:04 PM

  • In SLD WEB AS JAVA systems

    hi,
    I had a small query that for WEB AS ABAP we use application systems like APO,SCM etc
    but for WEB AS JAVA . which application systems are used ?
    regards
    guna

    Hello Guna,
    WEB AS JAVA . which application systems are used ?
    Web AS Java systems) automatically report information to the SLD about the elements that they contain by using the SLD data supplier programs. You need to manually register the following types of system only:
    ·        Standalone Java systems
    ·        Third-party systems
    To manually register these systems – and if you want to maintain additional data about automatically registered systems – you use the technical system browser.
    WEB AS JAVA . which application systems are used ?
    Database Only as Data Source
    Description: All user, user account, role, and group data is stored in the database of the SAP Web Application Server Java.
    Use case: You can use this scenario if UME is only used by dedicated Java applications that do not need to connect to ABAP systems or third-party systems. An example is a Web Application Server Java that is used as a developer workplace for small desktop development
    Configuration file: dataSourceConfiguration_database_only.xml
    Thanks,
    Satya

  • How to use quartz to integrate a standalone application in a webserver

    Can anyone help me in using quartz where i need to integrate a java standalone application into the webserver..I am developing an application using jsp and as part of a task i had created a standalone application in java and now i need to integrate this standalone application into the webserver because it needs to run as a webapplication.

    Hai sam,You gave us many valuable suggestions in the past.We tried all of those methods to make our application run as per scheduled but we failed.We have not yet tried the servlet method,which you suggested in your last reply. Actually we tried to use the os scheduler for this purpose and couldn't do it at the end.So can you suggest the way in which we have to write the servlet and invoke it. We dont need all the details.Just give us the idea of what this servet contains actually and how it works.We will try to do it.Thank you,

  • How to create datasource for standalone application using JPA

    In the persistence.xml configuration file, we have data source got it from web server configuration file, and created by server like Jboss or tomcat.
    I just wonder how to create this same data source via Java stand-alone application?
    I have Java standalone application embedded Jetty server running with JPA module. Question is how to setup or create data source from my Java application just like web server; which called by persistence.xml?
    Thanks,

    Hello,
    Sharepoint deployment is completely different. I don't think you can deploy any solution as wizard in prod so you have to first identify what you want to deploy.
    If you just want to deploy only web application then backup/restore process is available in sharepoint. you can use STSADM or powershell to deploy your web app.
    http://technet.microsoft.com/en-us/library/ee748618%28v=office.14%29.aspx
    If there is any custom code or .NET code then create a WSP package and deploy it on prod. If you have multiple WSP's then create a batch file (as exe package) then run this package on prod.
    http://www.ironspeed.com/Designer/9.1.1/WebHelp/Part_VI/SharePoint_Solution_Package_WSP_Deployment.htm
    Let us know in case any doubt
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Controlling visibility of Web Dynpro Java iView in portal WDJ page

    I should be able to use the WDPortalUtils interface in my Web Dynpro Java DC application to get the name of the iView in my Portal WDJ page using IWDPageService method getVisibleIViews(). My intent is to add another iView to this page and programmatically control the visibility of each iView from my WDJ application.
    -> Instructions I have found through my online research indicate I should not have to specify a sharing reference because I am using the WDJ framework, but I tried it anyway. It didn't work.
    -> I have added DC epbc.prtapi._api public part to my used DC's, and specified dependency at both Build time and Run time.
    -> My portal page template is of type Web Dynpro Proxy Page.
    -> My iView template is of type Web Dynpro Proxy iView.
    -> The Page Content view of my page shows the 'visible' checkbox set for my iView.
    The following statements in the wdDoInit() method of my DC's view controller should return the portal name of my iView:
    IWDPageService pageService = (IWDPageService) WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    String[] iViews = pageService.getVisibleIViews();
    I get no compile time errors or runtime errors when I execute these statements.
    BUT...
    Instead of a String array, I get back a memory space pointer.
    Example: [Ljava.lang.String;@664e664e
    What am I missing?

    Hi Jennifer,
    That's what this forum is all about; finding solutions to hard-to-solve issues, which might also help someone who may face the same issue in the future. So I hope my input is valuable
    The last thing I can think of is the method is been called before the portal page has been rendered completely, which may lead to the faulty results.
    Is it possible to move the getVisibleIviews() to a method which is called later in the phase (for instance, at the bottom of wdDoModify or wdDoPostProcessing) or, even better, in an onAction event handler when a button is clicked?
    If this doesn't work I'm afraid I'm running out of options and i would file an OSS message with SAP
    Hope this helps!
    Robin

  • CSS in Web Interface Builder

    Hi Guys,
    I have very strange problem and hope you have had experience with it.
    I am trying to set a CSS file in Web interface for BPS application. When I create a custom.css file it is impossible to import it into the web interface. The problem is that when I open Theme Root property of the page I see only 5 SAP predefined templates. Does somebody have an idea how to show my generated custom.css file in theme root property?
    Thank you very much in advance.

    Hi,
    Have a look at the OSS note no 830251.
    Check the below link also..
    http://help.sap.com/saphelp_sem320bw/helpdata/en/25/286075ad5441e6b22bfe53b421e271/content.htm
    Regards,
    Siva.

Maybe you are looking for

  • Latest safari update not working

    I updated my friends laptop yesterday with just general security updates and now safari does not work. It opens but only opens for a sec then crashes. Also Abode Flash update will not install Here is the error report from Safari Process:         Safa

  • What's the best way to copy a big poster and print it out?

    I'm doing a big art project (around 5ft by 5ft), where I'm going to draw stuff out by hand, and would like to make a copy of that project by scanning it into the computer, or taking high-res photos of the project and compiling them together in the co

  • Google car home cannot be installed

    Hello, I have updated my fascinate to Froyo about two days ago. I am trying to install "Google Car Home", but the android market does not allow me to install Google Car Home. (all other apps from android market are ok to be installed to my fascinate.

  • Reporting : rebuilding SimpleReport application

    Hi all, I'm trying to rebuild the SimpleReport application from scratch, to see all the different steps. The tutorial is here, as well as the sample code : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9ddf91ce-0201-0010-3a

  • Pages won't close windows when I quit it since I upgraded to lion.

    Ever since I upgraded to lion, whenever I open pages all the previous pages i was working on opened. It won't allow me to close them before quitting out of it, whenever I try to close them the system just ignores it. Also the mouse cursor has been di