Using JSF inside enterprise applications

Dear Community,
at the moment I put alot of effort in learning JSF, but on some questions I hardly find any information, so I hope maybe you could help me a bit. As the questions are probably not easy to answer within some sentences, I rather need you show me the right direction than giving me a comprehensive answer ;)
Anyway, I welcome any help.
1. If a JSF web application handles sensitive data (e.g. customer data), how can I secure the application so the data cannot be stolen? Is SSL recommended? If yes, are there practical samples how I can use it inside JSF applications?
2. Are there any samples how I can secure XML web services? I read alot about SAML, XMLencryption and WS-Security, but I lack practical samples.
3. In case alot of customers work with a JSF application at the same time, how do you handle load-balancing in case the application needs to be distributed on 2 servers? Is it a good idea to handle communication between two servers via webservices?
Thank you.

1. If a JSF web application handles sensitive data
(e.g. customer data), how can I secure the
application so the data cannot be stolen? Is SSL
recommended? If yes, are there practical samples how
I can use it inside JSF applications?Yes, you can just use https. This is not JSF specific, just webcontainer/applicationserver-specific. Check it's documentation.
2. Are there any samples how I can secure XML web
services? I read alot about SAML, XMLencryption and
WS-Security, but I lack practical samples.http://www.google.com/search?q=saml+tutorial provides enough samples tho.
3. In case alot of customers work with a JSF
application at the same time, how do you handle
load-balancing in case the application needs to be
distributed on 2 servers? This is webserver-specific. Inside JSF you don't need to worry about this.
Is it a good idea to handle
communication between two servers via webservices?Why should it be a bad idea anyway, you think?

Similar Messages

  • How to use GUI_DOWNLOAD inside BSP Application event

    Hi All,
    I am facing one issue while using GUI_DOWNLOAD inside BSP Application. When the processing goes at GUI_DOWNLOAD it gives me unknown error where as the same code is working when used in report program. My requirement is to save password into excel file at my local machine. I am using FM MS_EXCEL_OLE_STANDARD_DAT to save password in excel file but this function module fail when it reach at GUI_DOWNLOAD . Can you please help me out.
    Thanks and Regards
    Pradeep Kr. Rai

    Dear Pradeep,
    Find the below link which explains a simple data download to excel from a table view.
    www.sapt echnical.com/Tutorials/BSP/Excel/Index.htm
    Try to avoid the way your using in the BSP application and it is abdicable to use the standard methods / class available like "cl_bsp_utility"
    Hope this will be helpful.
    Regards,
    Gokul.N
    Edited by: Gokul on Oct 8, 2009 9:57 AM

  • Is JSP the most used technique in Enterprise applications ?

    which is most needed in software companies ? is jsp the mostly needed one ?thanks .

    It depends on requirement of the web application. For eg., you can use html and servlets for making a web application, or jsp and servlets, or jsf etc. But you must learn html, servlets and jsp as these are the basics and required in software industry.

  • Error using JSF inside JBuilder

    Hi,
    I have a project on JBuilder when I try to follow the steps from this tutorial :
    http://horstmann.com/corejsf/tutorial.html
    If I try to compile it with "check JSPs" enabled it give me this error :
    "index.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    2003-10-12 02:37:29 - Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/lib/standard.jar: (line 3, col -1): Element type "taglib" is not declared.
    2003-10-12 02:37:30 - Exception initializing TldLocationsCache: zip file closed
    "welcome.jsp": ParserUtils: warning org.xml.sax.SAXParseException: Valid documents must have a <!DOCTYPE declaration.
    2003-10-12 02:37:31 - Exception initializing TldLocationsCache: XML parsing error on file /WEB-INF/lib/standard.jar: (line 3, col -1): Element type "taglib" is not declared.
    2003-10-12 02:37:31 - Exception initializing TldLocationsCache: zip file closed
    If I disable the error messages I am able to create the WAR file. But it still do not run in the JBuilder IDE.
    When I deploy it to JBoss (with integrated Tomcat) I got this error :
    02:42:00,612 INFO [Engine] Exception initializing TldLocationsCache: XML parsin
    g error on file /WEB-INF/lib/standard.jar: (line 6, col 19): Document root eleme
    nt "taglib", must match DOCTYPE root "null".
    Anyway the application is deployed on Jboss and I can test it successfully.
    Any idea of what the error messages cause ?
    Danilo.

    Hi,
    I have a project on JBuilder when I try to follow
    w the steps from this tutorial :
    http://horstmann.com/corejsf/tutorial.html
    If I try to compile it with "check JSPs" enabled it
    t give me this error :
    "index.jsp": ParserUtils: warning
    org.xml.sax.SAXParseException: Valid documents must
    have a <!DOCTYPE declaration.
    2003-10-12 02:37:29 - Exception initializing
    TldLocationsCache: XML parsing error on file
    /WEB-INF/lib/standard.jar: (line 3, col -1): Element
    type "taglib" is not declared.
    2003-10-12 02:37:30 - Exception initializing
    TldLocationsCache: zip file closed
    "welcome.jsp": ParserUtils: warning
    org.xml.sax.SAXParseException: Valid documents must
    have a <!DOCTYPE declaration.
    2003-10-12 02:37:31 - Exception initializing
    TldLocationsCache: XML parsing error on file
    /WEB-INF/lib/standard.jar: (line 3, col -1): Element
    type "taglib" is not declared.
    2003-10-12 02:37:31 - Exception initializing
    TldLocationsCache: zip file closed
    These are XML parsing errors when reading one of the tag library descriptor files embedded in standard.jar (the JSTL standard tag library JAR file). Because this JAR file works fine in other containers, it sounds like a problem with the servlet container embedded in JBuilder.
    Craig

  • Getting Substring using JSF

    I am new to JSF , (using JSF and struts application ) .I was wondering how I could do basic functions like string manupilation using the JSF core tages ...
    For Example if I have
    <h:outputText value="#{gen.Name}" />
    and I would like to get not the name but say the substring(0,5) ..how would I do this with JSF ...
    Also could you please direct me to a resource where I can learn more about the Core (helpful) functions using JSF

    Perhaps you could use a converter.
    package com.test.converter;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    public final class SubstringConverter implements Converter  {
        public SubstringConverter() {
            super();
        public Object getAsObject( FacesContext arg0, UIComponent arg1, String d ) {
            return d;
        public String getAsString( FacesContext arg0, UIComponent arg1, Object arg2) {
            return ((String)arg2).substring(0,5);
    The corresponding entry in faces-config.xml
    <converter>
        <converter-id>mySubstringConverter</converter-id>
        <converter-class>com.test.converter.SubstringConverterr</converter-class>
    </converter>
    Now use it!<h:outputText value="#{gen.Name}" converter="mySubstringConverter"/>

  • System requirements for enterprise applications

    I'm making system requirements for our web-based application. We are going
    to use WebLogic as enterprise application server and Oracle as DBMS. So, I'm
    looking for any papers/documents/solutions and so on which can help me to
    define system and hardware requirements depending on number of users etc (of
    course very approximately). Is there something?
    Thank you for help
    Mike Ershov

    not of use anymore

  • Is it legal to use the iPhoto slideshow video inside the third party iPad enterprise application?

    Hi,
       we are developing one enterprise application specifically for iPad.Kindly advise me is it legal to use the iPhoto slideshow video inside the third party iPad enterprise application (slide show with images)?
    Thanks in advance.

    Thanks Terence for your reply. I mean  for "the iPhoto slideshow video" is : I have collection of my own images , using iPhoto software i created a slideshow based on 'origami' theme and exported as a video file. Can I use that video in my enterprise iPad application?
    Thanks.

  • How do I configure an enterprise application using Weblogic 10 wlconfig

    Hi All,
    I am converting an installer from WL8 to WL10. We use wlconfig to configure our EAR in wl8 with several wlconfig commands. These don't seem to work though when attempting to use wl10. The following error comes up more often than not and does not seem to be appropriate to what is actually happening.
    Unable to create new bean of type WebAppComponent for pcidomain_new:Name=GenPortal,Type=Application:missing create method
    I have searched the Weblogic Documentation and have found only general information on how to use wlconfig with a simple example that does not touch on application deployment. I have also found an MBean Reference but am unclear as to how to marry the two.
    It would be really great if someone knew where I might find a concrete example of creating an Enterprise application using WL10.
    Here is the current wlconfig task that we use successfully in weblogic 8.
    ${server-mbean} is read in earlier with a wlconfig query command.
              <wlconfig url="t3://${env.COMPUTERNAME}:${weblogic_port}" username="${weblogic_username}" password="${weblogic_password}">
                   <create type="Application" name="GenPortal" property="GenPortalApp">
                        <set attribute="Path" value="${domain_home}/${domain_name}/applications/GenPortal.ear" />
                        <set attribute="StagingMode" value="nostage" />
                        <set attribute="TwoPhase" value="true" />
                        <create type="WebAppComponent" name="GenPortal">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="GenPortalWebApp.war" />
                        </create>
                        <create type="EJBComponent" name="GenPortalEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="GenPortalEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="BidEvaluatorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="BidEvaluatorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="BidFormulatorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="BidFormulatorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ConfiguratorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ConfiguratorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ISOCommunicationEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ISOCommunicationEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="LMPManagerEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="LMPManagerEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ScriptCalcEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ScriptCalcEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="SettlementEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="SettlementEJB.jar" />
                        </create>
                   </create>
                   <create type="StartupClass" name="PCI_Initializer">
                        <set attribute="Targets" value="${server-mbean}" />
                        <set attribute="ClassName" value="com.pci.gtdw.bean.Initialize" />
                        <set attribute="Arguments" value="port=${weblogic_port},user=background,password=${background_user_password},debug=false,loggerLevel=debug" />
                   </create>
                   <set mbean="${domain_name}:Name=${domain_name},Type=JTA" attribute="TimeoutSeconds" value="1200" />
              </wlconfig>
    As I mentioned earlier right now this fails with when trying to create the WebAppComponent as seen in the error message above.
    Thanks for any help you can provide.

    Here's a couple ideas:
    1. Easier, but with non-deterministic response time:   Wire the button up to one of your I/O pins and poll it.  When you detect the button, issue a software call to stop the pulse train.  If the duration of the button press may be short compared to your polling rate, then wire it to a counter source pin and perform edge counting.  When you poll any value > 0, the press has happened.  (Sometimes the value may be >1 if the switch has "bounce").
    2. Trickier, but with deterministic hardware timing:  Configure another counter, call it counter B, for triggered pulse generation.  Wire/configure the button as the trigger.  Make sure that the "high time" of the pulse is long enough to let your software respond, if needed.   Also configure your original continuous pulse train counter to use Ctr B's output as a "pause trigger", specifying to pause when high.   When the button is pressed, counter B will fire a pulse and that pulse will inhibit your original counter's pulse generation.  In short, the pulses will stop until counter B's pulse has completed its full duration.  Your software can monitor for this series of events and stop the original counter task if needed.
    -Kevin P.

  • Using JSF in High Available Applications

    Hi
    I have a client that requires that all their applications are HA. For this I need to deploy my web applications in multiple servers and enable web session replication between those servers. I'm concerned that using JSF will require a lot of session replication between the servers because all components for all forms are stored in the web session. Has anybody done test using session replication? Any experience with this?

    There is a context param in the web.xml
    javax.faces.STATE_SAVING_METHOD
    Which stores the component tree in a hidden field in your HTML perhaps this can help you

  • Using Siebel Enterprise Application 7.8 OLTP as source for OBIEE 10.1.3

    hi,
    We want to use the OLTP data source of Siebel Enterprise Application 7.8 for our OBIEE 10.1.3.3 BI application. The source tables (for example S_ORG_EXT) structure in 7.8 OLTP is older then the corresponding OLAP tables (W_ORG_D) in OBIEE.
    Problems like above are solved using Analytics Bridge. However, We didn't find the Bridge specific for above versions of OLTP & OLAP.
    If any of you have the slightest of idea as to how to resolve the above problem, do drop me a line at [email protected] or reply to this post.
    Thanks,
    Jignesh Doshi

    It is my understanding you need at least 10.1.3.3.2 (upgrade/patch).
    I'm currently on 10.1.3.3.0 and will be using ESSBASE shortly - so we actually have purchased 10.1.3.3.3 (OBIEE Plus).

  • Problem in building the enterprise application using Ant -Wrkshop

    Hi All,
    I have developed the enterprise application using workshop and tries to build the application using Ant script and getting the following error.
    "An error occurred writing the controls client manifest."
    Regards
    Ashok

    Did you:
    a). Ensure you're using the correct version of WLS (it appears to me you're using a standalone WLS)? - correct version is 10.3.3
    b). Install the application development runtime 11.1.1.3?
    c). Extend the domain with the JRF?
    John

  • How to design a web based leave management application  using jsf n Spring

    I'm a beginner for spring and jsf technology. I have a requirement to design web based leave management module using jsf and spring. Im confused in the design phase itself and not clearly knowing how to classify the classes. I need to understand clearly on how to do class design, and wanted to use MVC design patterns. As i know jsf itself is MVC but, as i want to use spring, i need to have some kind of model files and bean files.
    I'm clear about the following 3 classes.
    Applicant
    Approver
    Leave
    this will be like applicant will apply for leave and approvar when he logs he will see list of applied leaves and he will approve / reject the same by selecting one or more rows from datatable.
    Please guide me on designing this or gimme some link where i can read about designing java classes for web based applications.
    Thanks for your time and help.

    Please guide me on designing this or gimme some link where i can read about designing java classes for web based applications.Sure:
    http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/

  • Buling a new Web Application using JSF and Ajax.

    Hello Group,
    I am a building a new web application using JSF and AJAX. Planning to use Myfaces Tomahawk, Dojo for Ajax, Hibernate, Spring,Eclipse IDE and Jetty Server.Can some one please suggest me will this be a right one for
    building complex UI and will it support for using the jsf features and would like to know any other free open
    source framework, ide, tools which support the best way for an agile project..?. There is restriction like i have to use java1.4

    jaisheela wrote:
    Hello Friends,
    I am also in the same situation.
    I am a building a new web application using JSF and AJAX.
    Requirement is I need to use IBM version of DOJO and JSF but I need to develop the whole application using Eclipse 3.3,2 and Tomcat 5.5.
    With IBM version of DOJO and JSF, will Eclipse and Tomcat help to speed up the development or do you suggest me to go for Rational Application Developer and WebSphere Application Server.
    If I need to go with RAD and WAS, then I am new to RAD and WAS, is it easy to use RAD and WAS for this kind of application and implement web applicaiton fast.
    Any feedback will be great help.Those don't sound like requirements of the system to me. They sound more like someone wants to improve their CV/resume
    From what I've read recently, if it's just fast you want, look at Ruby on Rails

  • Deploy web applications using JSF 1.2  or JSF 2.0 to WLS 10.3.5

    Hello,
    We have ADF web applications developed with JDeveloper 11.1.1 (using JSF 1.2 and JSTL 1.1)
    deployed on WebLogic server 10.3.4.
    Our department plans to :
    1. upgrade to WebLogic server 10.3.5 with the ADF Runtime 11.1.2.0.
    and
    2. develop new ADF web applications using JDeveloper 11.1.2 (using JSF 2.0 and JSTL 1.2)
    My 2 questions are the following:
    1. Can we deploy all JSF 1.2, JSF 2.0, JSTL 1.1, and JSTL1.2 WAR files on the
    WebLogic server 10.3.5 with the ADF Run-time 11.1.2.0.
    2. Can we deploy existing ADF web applications developed with JDeveloper 11.1.1 (using JSF 1.2 ,JSTL 1.1)
    and new ADF web applications using JDeveloper 11.1.2 (using JSF 2.0 and JSTL 1.2) to the WebLogic server 10.3.5 with the ADF Runtime 11.1.2.0
    Any insights will be greatly appreciated.
    Thanks

    1) That should work
    2) old adf app (developed with jdve 11.1.1.x.0) need to be migrated to jdev 11.1.2
    You can also check out my blog entry about the jdev wls versions here http://tompeez.wordpress.com/2011/09/14/jdeveloper-versions-vs-weblogic-server-versions
    Timo

  • Running webcenter Portal  based enterprise application using oracle webcenter content on the java cloud.

    And direction on how to use cloud service for a oracle webcenter application based on oracle webcenter content.
    We currently have an on premise enterprise application that is built using oracle webcenter,content ,
    ADF and connecting to OID for authentication and authorization.
    From the document I get the we can have the ADF application deployed.
    How about the migration of content.
    Can we build a webcenter portal domain?
    Can we have OID instance?
    Can we have BIP instance on the cloud?

    Hello,
    You can currently store users of the WebCenter products in the embedded LDAP server provided by the WebLogic server.
    As far as I know, BIP or OID are not currently supported in the cloud.
    ~Bogdan

Maybe you are looking for

  • How to make the ATP math work - receipts vs requirements

    Hello I have a 'qaundry'.   How can we make  receipts match requirments when we use ATP  [actually GATP -  from ECC  to SCM]. This to me to be a simple match problem that SAP  has not provided any config.  Even opening a message with them has not bee

  • How to Hide SSID's on Windows 8?

    hello i wanna hide SSID of USB NIC wireless router on winndows 8. more description: i create a wireless router on my windows 8 by USB wireless adapter and i want to hide the SSID of this wireless connection.

  • Also Transfer Problem with ZEN X

    Finally i decided it to buy a zen xtra. The player works fine, also the firmware update was no problem. But then i wanted to transfer my mp3 files to the zen, i used just the nomad explorer for that(Because although i read the readme, i didn?t manage

  • Add Parameters in html report header

    Hi All, I would like to add few parameters/items in the header of my html report. I don't know how to pass my parameters in my main sequence to report file. Pls advise. Thanks toko..

  • Spool to a printer

    I'm tryng to spool an sp output to a printer Is possible?