Using JavaFx in Web application

I want to use JavaFx in Web Application which consists of JSP or Servlet. How can I use it ?

CRatan, this is a very obscure (but valid) question.
Where does JavaFX fit into Web Applications?????
Well, normally you use a html 'view' that is generated from jsp. Depending on how you use servlets (and lets face it a servlet can provide almost anything you can dream of providing the request/response is delivered over http(s)) you might typically be providing service to that html page derive's it's content from. JavaFX is a 'view' that is not html. It sure can use http request and fetch data from a servlet and provide a UI outside the browser container (you can lanch it... applet, mobile, or desktop).
In the coming days/months/years I would expect to see http request/session EE JavaFX client side support be introduced or documented more so than what it is now (so that JavaFX client applications can maintain stateful https sessions between itself and server) much like a browser does. There is DEFINITELY java support for this already (see HTTPClient) but this is something you need to learn yourself. You could also step outside the square by NOT using http (but firewalls do often suck).
I hoped I helped - I try but I don't charge.

Similar Messages

  • Can we build a new custom form using self service web applications in 11i?

    I have been using Template.fmb to build new custom forms in Oracle Applications 11i. We wanted to know If we can build new forms using self service web applications to get the web form feel in 11i.
    Please let me know the reason.
    Thanks in advance
    Nel

    I have been using Template.fmb to build new custom forms in Oracle Applications 11i. We wanted to know If we can build new forms using self service web applications to get the web form feel in 11i.
    Please let me know the reason.
    Thanks in advance
    Nel

  • 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

  • How to find if a ManagedMetadata is used in a web application in SharePoint 2010 programmatically

    Hi,
    Is there any way using SharePoint 2010 server object model that we can find out which managed metadata is used in any of the sites in web application.
    Regards, Shruti

    You can use the code below. You'll need to check all of the fields in each web, as well as each list, so you'll need to use it in a loop. Also, in my example, I'm just getting the first termset in the first term group in the first term store. You'd want
    to change that to the termset you need.
    using (var site = new SPSite("http://siteurl"))
    TaxonomySession s = new TaxonomySession(site);
    TermStore store = s.TermStores[0];
    Group group = store.Groups[0];
    TermSet termSet = group.TermSets[0];
    using (var web = site.RootWeb)
    var fields = web.Fields;
    foreach (SPField f in fields)
    if (f.FieldValueType == typeof (Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection) || f.FieldValueType == typeof (Microsoft.SharePoint.Taxonomy.TaxonomyFieldValueCollection))
    var tf = f as TaxonomyField;
    if (tf.TermSetId == termSet.Id)
    //do something
    var log = String.Format("Field {0} is a memeber of TermSet {1}", f.StaticName, termSet.Name);
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • How to use Swing in Web Applications

    Can you suggest me some good PDF or some good site for reading about using SWING in a Web Application.
    In our web application we plan to use JSP/Struts for the presentation layer. However there are a few screens that require some advanced UI like color coded assets and a graphical version of Outstanding Vs Available limit. We are wondering whether we should use SWING for these screens. Do you think this is a good idea or is there a better apprach to deal with this
    What are the disadvantages of using SWING VS JSP/Servlet in a Web environment. Is there a site or pdf where i can get information about this.

    As mentioned above, you could simply use an Applet, but I would discourage that approach.
    Although it's harder to have a good UI on the web, it's definitely possible (witness Gmail). You can do all sorts of clever things like building collapsible/expandable tree structures on the web with a little Javascript/CSS.
    Swing is much, much slower than regular HTML elements and the API for some Swing things is needlessly complicated (i.e. JTree).
    Could you be a bit more specific about the UI elements that you need? If you wanted to do something like Photoshop, well, it would be almost impossible on the web (to do it well at least), but many other applications are very do-able.

  • How to use quartz in web applications

    Hi people,
    Can anyone please help me out how i can use quartz scheduler in web applications ? I want to utilize quartz to update databases periodically and automatically. Please help me its urgent ...:(

    Hi
    I have a requirement to implement Quartz in a we application.Technologies using as JSF, spring, hibernate and server is JBOSS. Here i am unable to decide how to implement quartz using these technologies.
    What is the methodology i have to use to implement quartz along with these technologies.

  • How to idtentify web services which are used in the web application?

    Hi All,
    We need to identify all the web services that a web application is using. We need them so that we can use test them. We are a group of independent testers. We have access to IIS server's on which the application is hosted. Is there any way we can identify
    them other than seeking out the DEV team to give out the list?
    Thanks in advance.
    Regards,
    Umesh

    Hello,
    You have posted your query in the Project / Project Server forum, is this related to Microsoft's Project / Project Server? If not, you are better off posting this in one of the development forums. If you are unsure where to post, try here first:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=whatforum
    In the mean time, you could look at using something like Fiddler:
    http://www.telerik.com/fiddler
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • Why native code outside the VM when I use JNI in web application?

    I have a web application by using JBOSS as the server in windows XP environment. I need to call native functions in my servletAction class to check some information. After I start JBOSS and WebServer(tomcat), it works well when I launch the web page to call that native funtions in the first a few times, but after a while when I reopen that page in IE to call native funtions it throws me an unexpected error and shut down the jboss automatically. Could know how to solve it? Thank you guys in advance!
    Error message:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x63BA7AD
    Function=[Unknown.]
    Library=C:\WINDOWS\system32\HaspKeyDAO.dll
    NOTE: We are unable to locate the function name symbol for the error
    just occurred. Please refer to release documentation for possible
    reason and solutions.
    Current Java thread:
         at Key.readBlock(Native Method)     
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
         at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
         at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
         at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
         at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
         at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
         at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
         at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:283)
         at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)
         at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128)
         at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
         at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
         at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
         at org.jboss.ejb.Container.invoke(Container.java:854)
         at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642)
         at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:775)
         at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382)
         at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
         at sun.rmi.transport.Transport$1.run(Transport.java:148)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:534)
    Dynamic libraries:
    0x00400000 - 0x0040B000      C:\j2sdk1.4.2_06\bin\java.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\MSVCRT.dll
    0x08000000 - 0x08139000      C:\j2sdk1.4.2_06\jre\bin\client\jvm.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x10000000 - 0x10007000      C:\j2sdk1.4.2_06\jre\bin\hpi.dll
    0x00390000 - 0x0039E000      C:\j2sdk1.4.2_06\jre\bin\verify.dll
    0x003B0000 - 0x003C9000      C:\j2sdk1.4.2_06\jre\bin\java.dll
    0x003D0000 - 0x003DD000      C:\j2sdk1.4.2_06\jre\bin\zip.dll
    0x003E0000 - 0x003EF000      C:\j2sdk1.4.2_06\jre\bin\net.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\System32\mswsock.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x03070000 - 0x030AC000      C:\Program Files\NewDotNet\newdotnet6_38.dll
    0x774E0000 - 0x7761D000      C:\WINDOWS\system32\ole32.dll
    0x77120000 - 0x771AC000      C:\WINDOWS\system32\OLEAUT32.dll
    0x77260000 - 0x772FE000      C:\WINDOWS\system32\urlmon.dll
    0x77F60000 - 0x77FD6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x771B0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x77A80000 - 0x77B14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77B20000 - 0x77B32000      C:\WINDOWS\system32\MSASN1.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x71B20000 - 0x71B32000      C:\WINDOWS\system32\MPR.dll
    0x76C30000 - 0x76C5E000      C:\WINDOWS\system32\WINTRUST.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x7C9C0000 - 0x7D1D4000      C:\WINDOWS\system32\SHELL32.dll
    0x773D0000 - 0x774D2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x5D090000 - 0x5D127000      C:\WINDOWS\system32\comctl32.dll
    0x76FC0000 - 0x76FC6000      C:\WINDOWS\system32\rasadhlp.dll
    0x662B0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x042C0000 - 0x042C6000      C:\j2sdk1.4.2_06\jre\bin\ioser12.dll
    0x04410000 - 0x04418000      C:\j2sdk1.4.2_06\jre\bin\nio.dll
    0x046A0000 - 0x046A5000      C:\j2sdk1.4.2_06\jre\bin\rmi.dll
    0x047F0000 - 0x0490E000      C:\jboss-4.0.0-winsort\server\default\tmp\native\SharedLib\HaspKeyDAO.dll
    0x04A20000 - 0x04A73000      C:\jboss-4.0.0-winsort\server\default\tmp\native\msc\dll\haspms32.dll
    0x06390000 - 0x064AE000      C:\WINDOWS\system32\HaspKeyDAO.dll
    0x76F50000 - 0x76F58000      C:\WINDOWS\system32\wtsapi32.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x5B860000 - 0x5B8B4000      C:\WINDOWS\system32\NETAPI32.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 9216K, used 2204K [0x10010000, 0x10a00000, 0x12770000)
    eden space 8256K, 26% used [0x10010000, 0x102370e8, 0x10820000)
    from space 960K, 0% used [0x10820000, 0x10820000, 0x10910000)
    to space 960K, 0% used [0x10910000, 0x10910000, 0x10a00000)
    tenured generation total 121024K, used 39043K [0x12770000, 0x19da0000, 0x30010000)
    the space 121024K, 32% used [0x12770000, 0x14d90ec8, 0x14d91000, 0x19da0000)
    compacting perm gen total 23808K, used 23618K [0x30010000, 0x31750000, 0x34010000)
    the space 23808K, 99% used [0x30010000, 0x31720888, 0x31720a00, 0x31750000)
    Local Time = Thu May 26 11:34:39 2005
    Elapsed Time = 3209
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode)
    Following is what I am doing:
    I have a key.java file with several native functions.
    In key.cpp I defined the implementation of above functions then created dynamic link library file key.dll. I put the key.dll to WEB-INF/lib/key.dll.
    Then in a servlet Action class, I called new key().keyPresent and new key().readBlock(0, 8, block, p1,p1).
    Public class Key{
    public native int keyPresent(int password1, int password2);
    public native void readBlock(int startMemoryLocation, int size,
    byte[] block, int password1, int password2);
    static {
    System.loadLibrary("Key");
    //A Singleton Class
    private static Key key;
    private Key()
    public static Key getSingletonObject()
    if ( key== null)
    key = new Key();          
    return key;
    public Object clone()
         throws CloneNotSupportedException
    throw new CloneNotSupportedException();
    Key.cpp:
    #include <jni.h>
    #include "Key.h"
    #include <stdio.h>
    #include "hasp.h"
    #include <memory.h>
    JNIEXPORT jint JNICALL Java_Key_keyPresent
    (JNIEnv *env, jobject obj, jint pass1, jint pass2)
         try{
              int keyPresent = 0;
              int p1, p2, p3, p4;
              int seed = 100;
              int port = 0;
              p1 = p2 = p3 = p4 = 0;
              hasp(LOCALHASP_ISHASP, seed, port, 0, 0, &p1, &p2, &p3, &p4);
              if (p1 == 0) {
                   printf("\nNo Hasp exists. Program aborted.\n");
                   return -1;
              if (p3 == HASPERR_VERSION_MISMATCH) {
              printf("Old driver found - please update driver to actual version.\n");
              return 2;
              hasp(LOCALHASP_HASPSTATUS, seed, port, pass1, pass2, &p1, &p2, &p3, &p4);
              if (p3 == 0) {
                   return 4;
              hasp(LOCALHASP_HASPGENERATION, seed, port, pass1, pass2, &p1, &p2, &p3, &p4);
              if (p3) {
                   printf("Failed: haspKey password is not correct!");
                   return 4;
              } else {
                   switch (p1) {
                   case 0:
                   keyPresent = 3;
                                  break;
                   case 1:
                        keyPresent =1;
                        break;
              return keyPresent;
         }catch(...){
              return -999;
    * READBLOCK
    * reads a block of data from the HASP memory
    JNIEXPORT void JNICALL Java_Key_readBlock
    (JNIEnv *env, jobject obj, jint startMemoryLocation, jint nSize, jbyteArray pBlock, jint pass1, jint pass2)
         try{
              int     p1, p2, p3, p4;
              p1 = (startMemoryLocation+1)/2;
              p2 = nSize >> 1;
              jbyte *javablob = env->GetByteArrayElements(pBlock, 0);
              memset(javablob, 0, nSize);
              p4 = (int)javablob;
              int seed = 100;
              int port = 102;
              hasp(MEMOHASP_READBLOCK, seed, port, pass1, pass2, &p1, &p2, &p3, &p4);
              env->ReleaseByteArrayElements(pBlock, javablob, 0);
              if (p3) {
                   printf("Failed. Error number: %d.\n", p3);
              } else {
         }catch(...){
              printf("readBlock function failed");
    }

    the error happens in your native-code which runs outside the VM of course, since its native.
    You access some memory where you don't have rights to do so, in a normal win32-app you would get the "application crashed at 0xdeadbeef"-window, and since java cannon guarantee that your code did not destroy something it shuts down.
    I would try to debug my code withought java in a C++ IDE/Debugger.
    good luck, lg Clemens

  • Use Map In Web Application Designer

    Hi gurus:
         when I create map in Web application designer ,it shows the error:
    Messages:
    Internal error communicating with the IGS (maps)
    Map could not be Created
    But the map can be shown in Analyser,please help me!
    thanks

    Hi,
    please tell more about your scenario.
    Are you using dynamic attributes?
    Are all layers visible?
    Did you check the query that you are using as Dataprovider? 
    Is there only one geocharacteristic in the row?
    Which infoobjects are you using and which shapefiles?
    Best regards
    Andreas

  • Using images in web application

    Hi everybody,
    I would like to store image in my web application that runs on tomcat server, and i put the image in my root web application folder and used it like this:
    File imgfile = new File("image.png");
    InputStream inputStream = new FileInputStream(imgfile);
    but, this let me FileNotFoundExeption.
    Someone know were to store the image file or how to call him from "new File("")".
    Thanks,
    Moshik.

    The implication of this is that you are placing this code in a Servlet so you need to put the images in a jar in the WEB-INF/lib directory and access them using the getResourceAsStream() method on the Servlet class or ClassLoader. See [http://download-llnw.oracle.com/javase/tutorial/uiswing/components/icon.html|http://download-llnw.oracle.com/javase/tutorial/uiswing/components/icon.html].

  • Why cannot i use the whatsapp web application?

    Recently, whatsapp released the web application that whatsapp users can chat each other on the internet. I usually stay in front of my computer. And i want to use this application.
    Why does iphone give the permission this app? I wonder...
    Thanks in advance...

    sonficyus wrote:
    Recently, whatsapp released the web application that whatsapp users can chat each other on the internet. I usually stay in front of my computer. And i want to use this application.
    Why does iphone give the permission this app? I wonder...
    From the WhatsApp FAQ:
    At this time, WhatsApp Web is available only for Android, Windows Phone 8.0 and 8.1, Nokia S60, Nokia S40 Single SIM EVO, BlackBerry and BB10 smartphones.
    Unless and until WhatsApp decides to make the option available to iPhone users, it will not be.

  • How to use images in Web application, which was written using mod_plsql?

    I need to insert some images in my Web Application. But I don't know how to insert it from BLOB. Please help me to solve this problem. Can you leave me some example.

    Regardles version, this could be a nice start:
    http://download.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm#CJAHDJDA

  • Best way to use PersistenceManagers in Web Applications

    Beacuse each PersistenceManager manages it's own cache , and I would like
    to benefit from this cache is it a good practice to keep in each user's
    session a PersistenceManager instance? By keeping this cache , wouldn't be
    a problem when many users access the application at the same time.
    Another approach would be to keep it in the servlet context but because
    each instance of a PersistenceManager makes a transaction at once, that a
    performance problem shall appear.
    Of course I'd like to decouple the persistence operations so I wrote a
    stateless session bean (as recomended), and when each metod is called I
    obtain a new PersistenceManager instance I use it and that at finish I
    close it.
    Lets say that I have a one-2-many relationship between 2
    PersistenceCapable objects Company and Employee. Let's say that I call the
    method findCompanyByPK(Object pk) in the session bean. I obtain the PM
    instance, I use pm.getObjectById() than I close the PM instance and return
    the result. What if I want to access the company employees form the
    instance returned. The PM is closed so I shall get an Exception. And
    anpther thing, if I close the PM instance , how do I benefit from the
    cache??
    Can anybody show me a better approach?

    Patrick Linskey wrote:
    In article <[email protected]>, Danix wrote:
    How can I achieve this PersistenceManagerFactory cache?
    Seehttp://www.solarmetric.com/Software/Documentation/2.3.4/docs/datastore_cache.html
    for details on using our PersistenceManagerFactory cache.One question here: Each object that I use and store in cache must be
    pinned and unpinned from the cache manually by me or is it made
    automatically by PMF?
    One thing I liked about JDO was lazy loading. Lets say that my company has
    a few thousand employees , as I know objects are loaded from datastore
    only when they are iterated, so as you say wouldn' t be a solution to
    retrieveAll employees and make all of them transient. Isn't there a better
    alternative?
    Well, not really, if you are set on using session beans. One of the important
    functions that session beans play in many EJB architectures is that of a data
    firewall, ensuring that only authorized clients can access certain data. So,
    the data that the session bean methods return cannot be associated with a
    live connection to the database, as this would cause your client tier to
    directly access the database, which the EJB folks say is A Bad Thing.
    Now, because this can lead to performance problems, and because most people
    don't need this type of security between their web server and their database,
    the EJB folks often propose what Sun refers to as the Fast Lane pattern, in
    which data is read directly from the database by the web server to realize
    performance improvements.
    Many J2EE applications can be best implemented (from the standpoints of
    simplicity, performance, and cost) by only using session beans whenabsolutely
    necessary, rather than as an integral part of your three-tiered design.
    You can easily enough design an architecture that separates presentation
    logic from business logic, but only delegates that business logic to asession
    bean when the services of a session bean are necessary. That is, you do not
    necessarily need to use a session bean just because you want this separation.
    So, if you were to go that route, and perform business logic in the same JVM
    as your servlet/JSP, then you could see the benefits of lazy loading, since
    you could keep the PM open until the presentation logic finished executing.
    But, if you need the extra facilities of session beans, then you're pretty
    much stuck with statically returning all the data that the session bean plans
    to make available to the client.You are right maybe stateless session beans are not the best approach. Can
    you explain to me a little about PerristentManagers? My opinion was that
    the PMF when is instantiated creates a pool of PMs. Each of them uses a
    cache that is initialized from datastore when is obtained first time from
    PMF and when PM is closed , it is actually returned to the PMF pool and
    its cache is not lost? Is it somethisng like this?
    And thank you for your quick answers so far.
    Dan
    -Patrick
    Patrick Linskey [email protected]
    SolarMetric Inc. http://www.solarmetric.com

  • Adding key figures using commands in Web Application Designer?

    Hello, all.
    I have a query the contains several key figures.  From that query, I created a query view in which only one of the key figures is displayed.  I'm using this query view for one of the data providers in a web template.  In Web Applicaiton Designer, I would like to be able to hide the key figure from the data provider and show a different one.  How can I accomplish this using the built-in commands?
    I know I can hide all key figures using the CLEAR_SELECTION_STATE command, but I can't figure out how to use a command such as SET_SELECTION_STATE_SIMPLE to show a different key figure.  Any help would be great!  Thanks.

    I've tried that using the GUI to configure the command, but WAD crashes when I try to open the window where I choose the member name.  The error says:
    "4A6DM1A4LTXPJKA1BA3LD9TTD is not a valid characteristic for InfoProvider MQM_M01."
    I also tried entering the commands as you suggested in the XHTML editor, but that resulted in an error when I tried to execute the command.
    Maybe I can do what I'm trying to do using some method other than changing key figures.  Basically all I want do is change the date range of the data shown using offsets.
    The key figures that I'm trying to add and remove are restricted in Query Designer to different date ranges.  These date ranges use offsets to set the restriction.  For example, one key figure is restricted to display values for only the last 7 days and I'm trying to replace it with a key figure that's restricted to the last 14 days.
    If I knew how to set a filter with offsets using commands in WAD, then I'd use that method, instead.  Any suggestions would be appreciated.

  • How to use javafx in web page written in jsp or jsf

    Hello
    How can we include our demo of javafx, that come with netbeans IDE , into my web page in JSP or JSF.
    Regards
    Rajnish Chauhan

    You just have to add it like and applet , including this line in your JSP or JSF
    <script src="http://dl.javafx.com/dtfx.js"></script>Then add the applet
    <script>
        javafx(
                  archive: "./resources/jar/Draw.jar",
                  width: 400,
                  height: 200,
                  code: "Draw",
                  name: "Draw"
    </script>./resources/jar/Draw.jar - is the path and the name of the jar

Maybe you are looking for

  • HP 2575 will NOT print in Colour

    Hello, I have an HP 2575 All-in-One printer,originally it printed OK,but,it was printing more in colour than black/white,even any text,somehow,I played in the setup and managed to print ONLY in black/white,now,I can't print anything in colour,I've re

  • Download Error (502)

    Download Error (502). "Contact Adobe Support" puts me here with no other options? Is this really "support?"

  • How to make a business card? -Adobe Illustrator CC

    Hello, I'm really stressed after searching the web for a tutorial on how to create a business card in Adobe Illustrator CC. I already have the graphics done, but I just need to know the dimensions and what unit it is. I'm using a homemade kit for the

  • Oracle VM with VLAN

    Hello, I have installed Oracle VM on Dell Poweredge 2950 with broadcom netextrem II chipset NIC. When i configure the vlan with this commands : vconfig add eth1 201 ifconfig eth1.201 192.168.201.233 up it's not match. The NIC don't TAG the packets. I

  • Report Server Error (NEED URGENT HELP!!)

    Dear Supporting Team & All Oracle Members, I was unable to run my report smoothly just recently. The error messages were as follows: "rwcgi60.exe - Application Error" "The instruction at "0x77f6754b" referenced memory of "0x016dle18". The memory coul