Options to utilise the CQ5 features in existing J2EE web applications

Hi All,
Can some one let me the options to integrate existing J2EE application with Day CQ CMS ?
I mean how can i display the CQ content on the JSP pages in J2EE application ?
Thanks in advance !!

As I understand the JavaFX 2.0 technology, it provides a rich interface to client or desktop apps written in Java. JavaFX 2.0 runs on the JVM, the API it provides is a Java API. You can access the API from any JVM language, so you can use Java to develop your applications (which is what i would advise when
first starting using JavaFX). But you can also use other JVM languages for applications development if desired (eg. JRuby, Scala, Groovy, etc).
Can you take an existing Web-based j2ee application and embed Java FX 2.0 technology in its jsp pages You can embed a JavaFX application in an html web page which was created using jsp (or any other web page assembly) technology. This works in much the same way as embedding a Flash App in an html page. See http://docs.oracle.com/javafx/2.0/deployment/deployment_toolkit.htm for documentation on how to do this.
to provide a richer interface, better user experience to overcome issues associated with the stateless nature of http and the UI controls utilized in web-based applications?JavaFX is one technology which could be used to do this, other technologies would be things like AJAX, Flash, Silverlight embedded in web pages or standalone applications written in JavaFX or other client technology. Essentially if you are doing this, you are developing what used to be known as a client-server application where some of the logic and control happens on the client and some happens on the server and you have some kind of network communication layer between them, as referred to by gimbal2.

Similar Messages

  • How can i send the chinese sms using java J2EE(web application)

    hi,
    i have the difficulty on sending chinese sms using J2EE application.i try to input the chinese word to jsp and send the plain text sms. i received the sms with plenty of question mark "?????". i think it is regarding to the conversion of String to some kind of format that supported by mobile phone. below are some code the send the sms to recipient. i need someone help in order to have the solution.
    thanks a lot
    <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
    <%@ page import="se.sapio.rta.service.MPMService"%>
    <%@ page import="java.util.Locale"%>
    <%
         Locale.setDefault(Locale.UK);
         Context ctx;
         MPMService mpmservice;
         ctx = new InitialContext();
         mpmservice = (MPMService) ctx.lookup("BC/Service/RTAMPM");
         LSUser user = null;
         boolean ok = true;
         try {
         if (ok) {
              String sender = request.getParameter("sender");
              String phonenr = request.getParameter("phonenr");
              String sendmsg = request.getParameter("sendmsg");
              if(bError) {
                   byte[] bytes = message.getBytes("UTF-8");
                   message = mobileclientservice.ByteEncode(bytes);          
                   response.sendRedirect("send_sms.jsp?s="+request.getParameter("s")+"&msg="+message+"&phonenr="+request.getParameter("phonenr").replaceAll("\\+","%2B")+"&sender="+request.getParameter("sender")+"&sendmsg="+request.getParameter("sendmsg").replaceAll("\\+","%2B"));
              String resp = "";
              if(mpmservice.sendPlainTextSMS(sender, phonenr, sendmsg)) {
                   resp=mpmservice.getLang(user.getLang(), "sms_sent");
              } else {
                   resp=mpmservice.getLang(user.getLang(), "sms_not_sent");
              } %>
              <jsp:include page="/top.jsp" />
              <p class="headline"><%=mpmservice.getLang(user.getLang(), "send_sms_title")%></p>
              <form name="operatordetails" id="operatordetails" method="post" action="send_sms.jsp">
              <INPUT TYPE=hidden NAME=s VALUE="<%=request.getParameter("s")%>">
              <INPUT TYPE=hidden NAME=phonenr VALUE="<%=request.getParameter("phonenr")%>">
              <table class="infotable" id="report">
                   <tr>
                        <td class="left" colspan="2"><%=resp%></td>
                        <td class="right"></td>
                   </tr>
                   <tr>
                        <td class="left" colspan="2">
                             <input class="halfmiddle" name="Back" type="submit" id="Back" value="<%=mpmservice.getLang(user.getLang(), "back")%>" />
                        </td>     
                        <td class="right"> </td>
                   </tr>
              </table>
              </form>
              <jsp:include page="/bottom.jsp" />
         <% } %>
       public boolean sendPlainTextSMS(String sender, String recipient, String sendmsg){
             if(recipient.charAt(0) == '+')
                   recipient = recipient.substring(1);
             String senderIdType = "Alpha";
              if( (sender.charAt(0) >= '0' && sender.charAt(0) <= '9') || sender.charAt(0) == '+')
                   senderIdType = "Numeric";
                   if(sender.charAt(0) == '+')
                        sender = sender.substring(1);
                   for(int i=0; i < sender.length(); i++)
                        if(!(sender.charAt(i) >= '0' && sender.charAt(i) <= '9'))
                             senderIdType = "Alpha";
             log.warn("sending sms to: "+recipient + " sendtype: " + senderIdType + " msg: "+ sendmsg);
             log.warn("Encoded sms:"+Encode(sendmsg));
             try{
             String postData = "XMLDATA=" + URLEncoder.encode("<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\r\n" +
                        "<NotificationRequest Version=\"3.4\">\r\n" +
                        "     <NotificationHeader>\r\n" +
                        "          <PartnerName>" + SMS_PARTNER_NAME + "</PartnerName>\r\n" +
                        "          <PartnerPassword>" + SMS_PARTNER_PASSWORD + "</PartnerPassword>\r\n" +
                        "          <SubscriptionName>XML</SubscriptionName>\r\n" +
                        "     </NotificationHeader>\r\n" +
                        "     <NotificationList BatchID=\"1\">\r\n" +
                        "          <Notification SequenceNumber=\"0\" MessageType=\"SMS\">\r\n" +
                        "          <Message>" + Encode(sendmsg) + "</Message>\r\n" +
                        "          <Profile>" + SMS_PARTNER_PROFILE + "</Profile>\r\n" +
                        "          <SenderID Type=\"" + senderIdType + "\">" + sender + "</SenderID>\r\n" +
                        "          <Subscriber>\r\n" +
                        "               <SubscriberNumber>" + recipient + "</SubscriberNumber>\r\n" +
                        "          </Subscriber>\r\n" +
                        "      </Notification>\r\n" +
                        " </NotificationList>\r\n" +
                        "</NotificationRequest>","ISO-8859-1");
      appreciate for anyone provide the solution.
    thanks a lot

    Hi,
    I want to send sms from web application to mobile phones at the time of registration. Its verymuch greatful to me, if you let me know, how to send from jsp to mobile. because from your post, i got, you already know about sending sms from jsp to mobile.
    please let me know, how to send sms
    [email protected]
    Thanks in advance for your kind help

  • I am using AI CS2 on an eMac and cannot get the print menu options to recognize the print features l

    I am using AI CS2 on an eMac and cannot get the print menu options to recognize the print features like? I need to use mirror feature and high quality printing and it will not work.

    jdanek
    It is an eMac. I have a corrupted font book. How can I fix/re-install/or download a new font book app? Most fonts that were in it work, some do not, but I cannot open it nor can I install fonts into it.  This happened after the eMac OS was upgraded from 10.3.9 to 10.4.11 and AI was upgraded to CS2
    Kind regards,
    Steve Mosher
    Village Graphics LLC
    438 Troy Loop
    The Villages,  FL  32162
    352-409-6853
    [email protected]

  • How a J2EE web application access CR reports stored on the CR Server XI?

    Hi,
    I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
    My questions are:
    1. How my J2EE web application access those reports?
    2. Do my web application uses some CR API for the connectivity and integration?
    3. What will happen to the database connectivity of the report template? since the report are created locally.
    4. Can the report template be edited/updated on the server?
    5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
    6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
    7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
    I hope you can provide some guidance on this journey to Crystal Report world
    Regards,
    Rulix Batistil
    Genesis Networks Pte Ltd
    www.gen-net.com.sg

    1) Your application connects via the Java SDK using the appropriate JAR files.
    2) It can.  You can set the database information at runtime or use the already populated information from Enterprise.
    3) Same as 2.   Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting.  You can change this via code to hit whatever equivalent database you want.
    4) Yes.  You would have to use RAS and the RCAPI to accomplish this via code.  You can also make changes in the designer and overwrite the existing report template.
    5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
    6) It can be deployed to the same machine as CR Server, though we recommend against that.  Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
    7) RAS can be used to run reports, as well as the page server.  The universe and business view manager are not directly used in code.  If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
    [BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
    Best Regards,
    Jason

  • What is the correct way to set a web application to use HTTP or HTTPS?

    In the past I've always created an HTTP web application as the default zone. Then extended the web app, creating a new IIS website on port 443 and enabled SSL. This seems to have worked fine, but I recently read an article stating that it is not good to
    extend a web app unless absolutely necessary. So can someone tell me what the proper way is to configure a single web application to work with HTTP and HTTPS?

    Extending the web application to support both HTTP and HTTPS is a perfectly good method and in fact is the only way to have a web application support both so what you've done is fine.
    If the web application will only use HTTPS, you can set this up when you first create the web application. Specify port 443 and the SSL option (and ensure the URL has an https://) when creating the web application. You'll need to install the certificate
    in IIS once the web application has been created.
    Jason Warren
    Infrastructure Architect
    Habanero Consulting Group
    habaneroconsulting.com/blog

  • No option to Enable the Java applet plug-in and Web Start applications

    How do I Enable the Java applet plug-in and Web Start applications
    Their is no option under java preferences General Tab
    The options i get their are
         Run appelts
              in their own proccess
              Within the browser process
              (Defaut most compatible)
    Under the network tab im told
    By default java applets and web start applications use network settings in the system network preferences. Only advanced users should modify these settings
    Any ideas on why it is like this?

    Mac OS 10.6.8
    This happend once before when I was running 10.5.8 I fixed it but for the life of me i can't remember how i did it.

  • What is the best solution to create SharePoint Extranet Application for existing windows web application ?

    Hello,
    At present my SharePoint farm is having following domains:
    1) Internal Domain - Domain1
    2) External Trusted Domain - Domain2
    And Following Intranet WebApplications having Windows Mode Authentication:
    1) http://mywebapp1.Domain1.com - Single site collection
    2) http://mywebapp2.Domain1.com - Multiple site collections
    3) http://mywebapp3.Domain1.com - Multiple site collections
    Both Domain1 and Domain2 users are able to access above web applications.
    Now , we have requirement to add other trusted domains Domain3 , Domain4...etc. and create Extranet Application and I have following questions :
    What kind of topology and Authentication is required ?
    AD as User Identity storage location is better way for all other domains since there is trust ?
    Do I need to just extend all the web applications in extra net zone and create site collection for different domains to isolate security and content as per the need ?
    Is there any other best solution to implement extranet application under current environment ?
    what kind of other factors are important to consider in order to create extranet application ?
    Your help will be highly appreciated.
    Thanks and Kind Regards,
    Dipti Chhatrapati

    Hi Tom,
    I have following information till now:
    External domain will be trusted with parent domain where SharePoint is installed. 
    Authentication of external domain will be Windows Authentication.
    User Identity storage location will be Active Directory of external  domain.
    Site to be accessed by external domain will be http://mywebapp1.Domain1.com
    Now question is :
    Should I assign external AD group ( Domain2ADGroups ) to SP Web Application  http://mywebapp1.Domain1.com
    OR
    Should I extend the application in extranet zone for external domain and then assign permission to extended
    application ?
    I guess , if authentication is same then no need to extend the application - correct ?
    Thank you to look at this thread !
    Dipti Chhatrapati

  • Setting up the update feature of a windows form application from a linux webserver on the internet.

    I'm building an application in windows forms and have the way to publish it into an ftp folder at a Linux server on the internet where I have a web hosting account.
    I set up the application to update from a specific url.
    after publishing VS2010 keeps telling me that it can't see the published application and when I start the application, it does not update at all..
    Is it even possible to setup this configuration?
    Please advice how I need to configure my publish so I can
    1) Install from a web server url hosted on linux
    2) update directly from that web server url hosted on linux
    thanks
    Jorge Reyes

    Hello Jorge,
    Since this issue is related with applicaiton deployment, I ask the moderator to move it to the clcikOnce forum there ClickOnece experts will help you. The current forum is for windows desktop application development. 
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Facing Problem while adding Azure Project to existing C# web application

    Hi,
    I have a web application with 5 projects under one Solution. I want to publish this web application on Windows Azure, for that I have tried to add Windows Azure Cloud Service Project but this option is not appear in option list. But when I create new web
    application add Windows Azure Cloud Service Project option appeared. I didn't understand why this happened. I have also tried to migrate old code to new project but having error
    " The type or namespace name 'DataAnnotations' does not exist in the namespace 'System.ComponentModel' (are you missing an assembly reference?)"
    If I add this dll then more than 18000 error occures like control not found(The name 'lnkbtnNew' does not exist in the current context).
    Please help me out, I am struggling since couple of days.
    Thanks in advance.

    Hi,
    Please try the following steps, see if it helps.
    1. create new azure cloud service project (it is better to choose the same version of .netframework with your web application );
    2. right click the solution, add your web application as Existing Project
    3. Right click on the “Roles” node in the Cloud Service project and select “Add | Web Role Project in solution…”
    Please try to set the “Copy Local” to “True” in order to avoid assembly missing issue, see more at:
    http://blogs.msdn.com/b/asiatech/archive/2013/01/09/how-to-resolve-the-could-not-load-file-or-assembly-issues-on-windows-azure-web-sites.aspx
    If this post doesn't give you help, please follow up with more detailed information.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Adding NWDI into existing J2EE web instance

    Hi Expect,
        I have an running J2EE web server while i want to add NWDI compoents into it. I know how to done it start from scatch (i.e select the NWDI option using installation master).
    However, i don't know how to add NWDI into an existing J2EE instance since the installation master do not have any "update option"
    Please help.

    hi,
    It is possible to add NWDI to esisting j2ee instance.
    Follow these steps,
    1.If it is <b>04,</b>
    deploy SAPDEVINF.sca from <b>offline</b> component folder in your 04 build.It will be under sikwxx.relesed\j2ee-cd\jdi.
    deploy SAPDEVINF.sca and SA{BUILDT from <b>online</b> component folder in the same path as said above.
    2.after deploying go to visual admin.
    c:\usr\sap\SID\JCxx\j2ee\admin--->go.bat
    Go to SID----->services----->Component Build  Services.
    Then  enter <b>Java home path</b> in the column which appears to the right
    and set I<b>dlestart</b> to <b>false</b>.
    3.Then go to c:\usr\sap\SID\sys\global\CMS_CBS\plugins.Then copy all the sca's under that to c:\usr\sap\JTrans\CMS\inbox.
    If it is<b> 04s</b>
    1.Deploy DI-DTR,DI-CBS,DI-CMS on to the engine from production path under BS folder release.
    2.2.after deploying go to visual admin.
    c:\usr\sap\SID\JCxx\j2ee\admin--->go.bat
    Go to SID----->services----->Component Build  Services.
    Then  enter <b>Java home path</b> in the column which appears to the right
    and set <b>idlestart</b> to <b>false</b>.
    3.Then copy SAPBUILDT.sca,SAPJEE.sca,SAPJTECHS.sca and SAPJTECHF.sca from BS folder to C:\usr\sap\JTrans\CMS\inbox.
    reward points if helpful..............

  • "heap limit" - or the death of a perfectly sound web application ;-)

    hi everyone,
    i am running a web app on tomcat 6. There is this specfic feature in the web application where i need to parse data from a csv file and programatically place data in an excel file.
    i am using these api's :
    jexcelapi
    ostermillerutil
    here is the code
    // Parsing CSV file
              CSVParser p = new CSVParser(in);
              p.setCommentStart("#;!");
              p.setEscapes("nrtf", "\n\r\t\f");
              String[] line = null;
              Label label = null;
              WritableSheet sheet = writeWorkbook.createSheet("Data", 0);     
              int rowCount = 0;
              try {
                   while ((line = p.getLine()) != null) {
                        for (int column=0; column < line.length; column++) {
                             try {
                                  label = new Label(column,rowCount, line[column]);
                                  sheet.addCell(label);
                             } catch (RowsExceededException e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();
                             } catch (WriteException e) {
                                  // TODO Auto-generated catch block
                                  e.printStackTrace();                    
                        rowCount++;                    
              catch (IOException e) {
                        e.printStackTrace();
              }the problem is a quite outOfMemory error cause in the while loop.
    Its clear that the amout of data (aprox. 26000 rows of data - about 100megs of data) is the problem. My question is any of you can see anything i could optimize the loop with so that the app wont burst ;-)
    yours,
    Jazz

    the problem is a quite outOfMemory error cause in the
    while loop.
    Its clear that the amout of data (aprox. 26000 rows
    of data - about 100megs of data) is the problem. I have a great problem understanding why you need to process 100megs of data in a web application since you are unlikely to be shipping the 100megs to the client for display. I can only see some sense to it if your web application is offering a conversion service but even then you will still have an upload of 100megs followed by a download of 100megs. If you are offering a conversion service then because of the memory requirement you will probably be limited to just one client at a time anyway.
    Not what you would call a sound scalable solution to a problem.

  • How to get the network details in flex4.5 web application

    How to get the network details in flex 4.5 web application
    similar to the nativeinterface in air application

    checkout this document for secure web application
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6167e-7fff.html    

  • What happened to the JATO forum (id=103) AKA Web Application Framework

    What happened to the Jato forum? (id=103) AKA Web Application Framework
    I was available a few weeks ago? Now I'm redirected to this forum=122.

    Hi
    Starting March 1, 2005, Sun Java Studio Standard and Web Application Framework forums are merged into Sun Java Studio Enterprise forum. All forums' content will be saved and moved to its new location.
    You can post your WAF questions here.
    Thanks
    Srinivas

  • Can I use the search engine and run a web application under the same iPlanet 6.0 virtual server?

    I've got an iPlanet 6.0 SP2 virtual server with the search engine enabled, which was tested and working. I then deployed a web application to it (mapped to "/"), and the web application works fine but now the search functionality is completely broken. Browsing to /search results in a directory index being displayed. Is there some trick to getting the two working together? I tried shuffling NameTrans directives around, but can only get either the search or the web app working, not both.

    Ok, I'm going to answer my own question now...
    The issue has been resolved after some additional experimentation on my part. There were two causes for my problem:
    1. The NameTrans directives in obj.conf are in the wrong order when Java and Search are enabled from the administration interface.
    Here's the admin server generated obj.conf I started with initially, when the web application was working, but requests to the URI "/search" returning a 404 error:
    <Object name="default">
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/search-ui" dir="/usr/local/iWS-6.0/plugins/search/ui" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/local/iWS-6.0/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/local/iWS-6.0/manual/https" name="es-internal"
    NameTrans fn="es-search-nametrans" from="/search"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    Here's my obj.conf now, which works perfectly:
    <Object name="default">
    NameTrans fn="pfx2dir" from="/search-ui" dir="/usr/local/iWS-6.0/plugins/search/ui" name="es-internal"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/usr/local/iWS-6.0/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/local/iWS-6.0/manual/https" name="es-internal"
    NameTrans fn="es-search-nametrans" from="/search"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    </Object>
    The "servlet" NameTrans directive needs to go below all others which map a URI to a function or directory (but before "document-root"), or they break. This is consistent with the iPlanet documentation on NameTrans, but the admin server doesn't get it right!
    2. The developer who wrote the web application uploaded a directory named "search" in the root of his application, which caused the server to display a directory index of "/search", instead of executing the search function. I believe this issue is covered in an iPlanet knowledge base article.

  • What is the proper way to deploy a Web application, that was developed in Visual Age for Java Professional edition 4.0 IDE, to iPlanets Web server Enterprise edition 6.0?

     

    Oh man it looks like a problem with the web server.
    Its an error that happens on SAP, even my dad reported an error like this to me but i wasn't able to solve it.
    What i find is that its an error with browser incompatibility,
    Check this http://scn.sap.com/message/10338540

Maybe you are looking for