Two related questions:  ColdFusion 10/Java applications and J2EE supported servers

I have two related questions:
1.  CF10 and integration with Java Web applications
We have a couple of Java applications running on JRun and interfacing with CF9 applications.  The JRun clusters were created through the JRun Admin and, apart from lack of Axis 2.0 support, have served us well for years now.  And, as would be the case, the ColdFusion9/Java/Flash application is a critical public-facing application that the business uses for bidding on projects.
It appears that with ColdFusion 10 on Tomcat, we will not be able to run those Java applications on a Tomcat-CF10 JVM cluster.  Is this correct?  IF so, what are our options? 
2.  J2EE Application Servers supported by Adobe for CF10
Which of these is correct?
A.  This URL (http://www.adobe.com/products/coldfusion-enterprise/faq.html) states "ColdFusion 10 supports IBM® WebSphere, Oracle® WebLogic, Adobe JRun, Apache Tomcat, and JBoss."
B.  This URL (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf1 0/coldfusion10-support-matrix.pdf) states:
"J2EE application servers: WebLogic Server 10.3, 11.1, WebSphere Application Server 7, ND 7 JBoss 5.1, 6.0, 7.1.0"
I *think* "A" above is wrong re. support for Adobe JRun.  It does not specify a version of Apache Tomcat unless it is simply referring to the custom version the comes with CF10.
Option "B" above shows no support of Adobe JRun or 'standard' Apache Tomcat.
Thanks,
Scott

Question 1 above was answered:  "No support for Java web applications under CF10's custom version of Tomcat"
Question 2:  No answer yet:  Is Apache Tomcat (NOT Adobe's customized version) supported for CF10 J2EE deployment?  I do not see any installation instructions on how to install CF10 on Apache Tomcat 6 or 7.
Is anybody using Apache Tomcat as their J2EE app servers and, again, NOT Adobe's customized/limited version? 
Thanks,
Scott

Similar Messages

  • How to use " toFront() " method in java application and in which package or

    How to use " toFront() " method in java application and in which package or class having this toFront() method.if anybody know pl. send example.

    The API documentation has a link at the top of every page that says "Index". If you follow that and look for toFront(), you will find it exists in java.awt.Window and javax.swing.JInternalFrame.
    To use it in a Java application, create an object x of either of those two classes and write "x.toFront();".

  • Calling a java application from j2ee web application

    Hi,
    I have a j2ee application in which i am making a call to a jar file which is a java application.
    Runtime a4 = Runtime.getRuntime();
    Runtime a = Runtime.getRuntime();
    String cmd[] = new String[14];
    cmd[0] = "cmd";
    cmd[1] = "/c";
    cmd[2] = "start";
    cmd[3] = "javaw";
    cmd[4] = "-jar";
    cmd[5] = CATALINA_HOME+"\\webapps\\AveksaTesting\\AveksaTestingJava\\dist\\AveksaTestingJava.jar";
    cmd[6] = SERVER_TESTS;
    cmd[7] = COLLECTOR_TESTS;
    cmd[8] = SYSTEM_TESTS;
    cmd[9] = CREATE_ORACLE;
    cmd[10] = DB_NAME;
    cmd[11] = DB_DUMP;
    cmd[12] = email;
    cmd[13] = isMIGRATE;
    try{
    java.lang.Process p = a.exec(cmd);
    Now in the called java application, i am first shutting down the tomcat server by calling shutdown.bat script and then starting it using startup.bat. But the problem i am facing is when i restart the server from java application, it says address already in use(i.e. port 8445 on which tomcat is runninng).
    Id i just call the java application and do the same operation it works fine. I guess when i am calling java from j2ee application, j2ee still has some threads holding java and not shutting down tomcat properly.
    Can anyone suggest me what can be done in this case. I have to call a java application from j2ee and restart the tomcat server many times.
    Thanks in advance
    -Vikram

    Annoyingly crossposted.
    http://forum.java.sun.com/thread.jspa?threadID=730657

  • Unexplained Delay Launching Applications (two related questions)

    I apologize at the outset for the length of this message.  I've added the information accumulated after trying several Window XP forums.
    1) I'm getting a 30-60s delay launching almost any program (from Command Prompt, Notepad, through any Office 2007 application), but only the FIRST time that particular program is launched during a given "session."  (Here "session" seems to mean any extended period of inactivity, not generally a reboot or logoff/logon.)  The Windows Task Manager shows CPU usage is 99% by System Idle Process during this delay (but I can't do much else while I wait), so I have no idea what's causing the holdup.  After the machine gets "warmed up," however, there are no delays of any sort.  Any suggestions to track down the problem?
    Possibly relevant details:  Lenovo T61 (Core2 Duo), vintage June 2008, running Windows XP Professional SP2 -- factory-supplied downgrade option from Vista,  (This is a problem that I noticed shortly after the downgrade, not a "new" problem appearing on an older installation.)  All other current Windows security updates (plus Windows Search 4.0 but minus SP3, which Lenovo warns against, and minus IE 8, which is too new for my taste) have been applied.  A bunch (but far less than half) of the Lenovo preloaded software has been uninstalled.  The only security software is ZoneAlarm Security Suite 8.0.298.035.  (Yes, I did a clean uninstall of Norton before anything else.  I use ZASS "Internet Lock" a lot, and one of the many manifestations of this problem is a long-delayed response to right-clicking on the locked ZASS icon in the system tray.  Nevertheless, I did try a clean uninstall/re-install of ZASS with only a temporary improvement.  Further, the problem does not arise every time I use Internet Lock.)  Various other "tweaks" that don't seem immediately relevant have been applied, of course.
    I have another very similar installation of XP (SP3 this time), and ZASS on an older Dell laptop -- all of the same tweaks have been applied, as near as I can tell (but no Lenovo add-ons, of course) -- which shows no such problem.  This is why I suspect some interaction with Lenovo software (in addition to the fact that there is so much of it).
    The precise phenomenology of the problem is difficult to ascertain, but it seems to occur primarily after Power Options has turned the screen off for an extended period of time.  (It's not allowed to go to sleep or hibernate automatically while plugged in.)  In any case, it doesn't only happen after a reboot.  What continues to puzzle me most is that there's no indication in Task Manager of anything going on at all.
    An apparently reasonable suggestion was made that I was seeing unusually long virus scans on first launch of programs, but this doesn't seem to explain the delays:  They don't usually happen immediately after a reboot, and there's no CPU hog showing up in Task Manager when this happens.
    2) I would be most grateful for any information about which of the ThinkVantage applications is really essential for this machine (or is potentially problematic), since I would really like to get rid of more of them, thus (I hope) resolving my problem.  For example, I assume I would want to keep "Active Protection System," but I use an image-backup system so I don't really need "Rescue and Recovery."  Nor do I need the pre-installed multi-media suite -- apparently by Sonic, which also installs a very annoying "InstallShield" update manager that I cannot figure out how to disable -- especially since I prefer CDBurnerXP and Windows Media Player.  It seems that a lot of this Lenovo stuff is loaded on startup, thus consuming resources and a potential source of my problem.  Before I embark on a whole-sale un-installation of ThinkVantage software, however, I'd like to know more about what's relevant and how to restore individual packages if I find I need them.
    To take one example, the Lenovo overlay of Windows Power Manager appears to have significant additional features (e.g., CPU speed control and smart battery-charging modes), but I can't tell whether they really do anything with the given hardware or whether their benefits might be worth having the software running constantly.
    Below is a list of stuff that's set to run on startup -- most of it left over from the original Lenovo Thinkpad setup -- that I didn't dare uninstall without more knowledge.  (I checked all the potential startup sources that I know of, and the rest are empty, including win.ini/load=.  Windows Search says it's finished indexing.)  I could also send a table of running services (long!) if anyone really wants to see it...
    Directory of C:\Documents and Settings\All Users\Start Menu\Programs\Startup
    04/09/2009  01:03 PM    <DIR>          .
    04/09/2009  01:03 PM    <DIR>          ..
    03/09/2009  07:41 PM             1,753 Adobe Reader Speed Launch.lnk
    03/09/2009  07:41 PM             1,795 Adobe Reader Synchronizer.lnk
    03/10/2009  01:10 AM               643 Bluetooth.lnk
    03/10/2009  01:09 AM             1,625 Digital Line Detect.lnk
    04/09/2009  01:03 PM             1,794 Windows Search.lnk
                   5 File(s)          7,610 bytes
                   2 Dir(s)  30,908,010,496 bytes free
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
    "SynTPLpr"="C:\\Program Files\\Synaptics\\SynTP\\SynTPLpr.exe"
    "SynTPEnh"="C:\\Program Files\\Synaptics\\SynTP\\SynTPEnh.exe"
    "PWRMGRTR"="rundll32 C:\\PROGRA~1\\ThinkPad\\UTILIT~1\\PWRMGRTR.DLL,PwrMgrBkGndMonitor"
    "BLOG"="rundll32 C:\\PROGRA~1\\ThinkPad\\UTILIT~1\\BatLogEx.DLL,StartBattLog"
    "TPFNF7"="C:\\PROGRA~1\\Lenovo\\NPDIRECT\\TPFNF7SP.exe /r"
    "TPHOTKEY"="C:\\Program Files\\Lenovo\\HOTKEY\\TPOSDSVC.exe"
    @=""
    "TpShocks"="TpShocks.exe"
    "SoundMAX"="C:\\Program Files\\Analog Devices\\SoundMAX\\Smax4.exe /tray"
    "NvCplDaemon"="RUNDLL32.EXE C:\\WINDOWS\\system32\\NvCpl.dll,NvStartup"
    "nwiz"="nwiz.exe /installquiet /keeploaded /nodetect"
    "TVT Scheduler Proxy"="C:\\Program Files\\Common Files\\Lenovo\\Scheduler\\scheduler_proxy.exe"
    "SunJavaUpdateSched"="C:\\Program Files\\Java\\jre1.5.0_06\\bin\\jusched.exe"
    "DLA"="C:\\WINDOWS\\System32\\DLA\\DLACTRLW.EXE"
    "ISUSPM Startup"="C:\\PROGRA~1\\COMMON~1\\INSTAL~1\\UPDATE~1\\ISUSPM.exe -startup"
    "ISUSScheduler"="\"C:\\Program Files\\Common Files\\InstallShield\\UpdateService\\issch.exe\" -start"
    "AwaySch"="C:\\Program Files\\Lenovo\\AwayTask\\AwaySch.EXE"
    "NvMediaCenter"="RUNDLL32.EXE C:\\WINDOWS\\system32\\NvMcTray.dll,NvTaskbarInit"
    "TPKMAPHELPER"="C:\\Program Files\\ThinkPad\\Utilities\\TpKmapAp.exe -helper"
    "SoundMAXPnP"="C:\\Program Files\\Analog Devices\\Core\\smax4pnp.exe"
    "ZoneAlarm Client"="\"C:\\Program Files\\Zone Labs\\ZoneAlarm\\zlclient.exe\""
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
    "ctfmon.exe"="C:\\WINDOWS\\system32\\ctfmon.exe"
    Again, thanks in advance for any help (if indeed anyone reads this far). -- JCW
    Solved!
    Go to Solution.

    jcw2, nothing to worry about 
    Most of these have are listed in the processes beacuse they are in the system startup(you mentioned it yourself).You explained in your post that you were willing to replace sonic record now.removing these from the startup donnot mean that they are "un-installed" from the system.It will only help you in increasing your boot time to your desktop.I only recommended removing these from the startup items only!
    Removing any thinkvantage utility program is at your own discretion,it depends on what you want to use and what you dont.If you have observed my post correctly i have not mentioned anywhere about removing thinkvantage utilities from startup, I am not aware of thinkvantage utilites on a thinkpad. 
    now let me explain why i suggested you to remove them only from  startup
     1.adobe synchronizer
    The Adobe Synchronizer is a networking agent that is used to build disconnection tolerant applications. The Synchronizer provides a local copy of data on a server so that applications can utilize it regardless of network connectivity. As data changes on the server, Synchronizer updates the local copy and as the user publishes changes made locally, Synchronizer makes the modifications to the server
    2.adobe speed launcher
    The Speed Launcher runs automatically when your computer starts. The Speed Launcher is not required in order to use Acrobat  or Adobe Reader . However, if you disable the Speed Launcher you may notice an increase in start time when you run Acrobat  Acrobat 3D or Adobe Reader  
    3.Soundmax
    only removes the system tray icon of analogdevices(soundmax digital audio)
    4. jusched.exe:
    A background process of sun microsystems  which checks for java updates.It uses  an active internet connection as well in the background.you will not require this program unless you are using java based applications or the java runtime environment(if you want to update java you can go to control panel options an update it from there)
    5. DLACTRLW.EXE:
     What does DLACTRLW.EXE do?The Drive Letter Access component allows you to drag and drop files directly to the CD-R or DVD-R drive on your computer, just as you would to any other folder. It writes the files onto the CD as you copy them, taking a lot of the complication out of burning CD or DVD discs with Windows.
     Is it necessary?Only if you actively use the feature. If you burn CDs and DVDs in a traditional way, such as starting up the CD-writer application and choosing files from there, then you can safely disable this program from running at startup.
     I donot know what utilites  you tend to use from the thinkvantage menu so cant answer regarding those processes.
     Hope my info helps you
    Message Edited by vijaysaradhi on 05-22-2009 09:21 PM
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

  • [Solved] Java applications and awesome issue

    Hello Folks,
    I know this issue has been solved before, but it didn't work for me:
    You all know the issue with the grey windows when starting a java application, right? Well, I have that issue too and I'd like to bring that to work.
    I read this article   http://awesome.naquadah.org/wiki/Problems_with_Java   but the workarrounds didn't work (I didn't try the second one with wmname).
    Is there yet any other know workarround? I also tried this one but that one didn't work eighter:
    export AWT_TOOLKIT=MToolkit
    [tectu@mercur ~]$ awesome -version
    awesome v3.4.11 (Pickapart)
    • Build: Apr 27 2012 09:01:08 for x86_64 by gcc version 4.7.0 (nobody@archbuild)
    • D-Bus support: ✔
    [tectu@mercur ~]$ java -version
    java version "1.7.0_03-icedtea"
    OpenJDK Runtime Environment (IcedTea7 2.1) (ArchLinux build 7.b147_2.1-3-x86_64)
    OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
    [tectu@mercur ~]$
    Does somebody have a working solution for me?
    ~ Tectu
    Last edited by Tectu (2012-05-24 11:21:17)

    Oh, the 'wmname LG3D' solution did work indeed.
    I was just curious about saying that I use a different window manager, that I thought I'm just gonna try the two other solutions.
    Thank you guys!

  • Multi-threaded java application and deadlock down in Oracle library

    Hello,
    I was running our Java (JDK 1.6_14) application from Windows XP hitting an Oracle (10g) instance on Linux and came across a deadlock issue with two (of 10) threads. Below is the stacktraces (based on Java thread-dump at the command line). This code I've run 30-40 times with no problems of deadlocks.
    The Oracle library that we're using for our Java application is ojdbc14.jar and sdoapi.jar (for spatial).
    We create our Connection as follows (for each thread -- 10 of them):
    public class Worker implements Runnable
    private Connection _Conn;
    public Worker(...)
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    _Conn = DriverManager.getConnection(url, username, password);
    _Conn.setAutoCommit(false);
    The code that is already executing these same lines below was already executed by other threads (in their own instance of Worker). So this is very confusing.
    Any ideas? Version of the .jar files? Place how we're calling "DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());"?
    Thanks, Jim
    Found one Java-level deadlock:
    =============================
    "WORKER_1":
    waiting to lock monitor 0x02b50d8c (object 0x22e8af80, a oracle.jdbc.driver.T4CConnection),
    which is held by "WORKER_0"
    "WORKER_0":
    waiting to lock monitor 0x02b50d24 (object 0x22f6d258, a oracle.sql.StructDescriptor),
    which is held by "WORKER_1"
    Java stack information for the threads listed above:
    ===================================================
    "WORKER_1":
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3410)
    - waiting to lock <0x22e8af80> (a oracle.jdbc.driver.T4CConnection)
    at oracle.sql.StructDescriptor.initMetaData1_9_0(StructDescriptor.java:1516)
    - locked <0x22f6d258> (a oracle.sql.StructDescriptor)
    - locked <0x22eabd80> (a oracle.jdbc.driver.T4CConnection)
    at oracle.sql.StructDescriptor.initMetaData1(StructDescriptor.java:1408)
    at oracle.sql.StructDescriptor.isInstantiable(StructDescriptor.java:892)
    at oracle.sql.STRUCT.<init>(STRUCT.java:148)
    at oracle.spatial.geometry.JGeometry.store(JGeometry.java:2954)
    at oracle.spatial.geometry.JGeometry.store(JGeometry.java:3777)
    .......... <our package/class>
    "WORKER_0":
    at oracle.sql.StructDescriptor.initMetaData1_9_0(StructDescriptor.java:1494)
    - waiting to lock <0x22f6d258> (a oracle.sql.StructDescriptor)
    - locked <0x22e8af80> (a oracle.jdbc.driver.T4CConnection)
    at oracle.sql.StructDescriptor.initMetaData1(StructDescriptor.java:1408)
    at oracle.sql.StructDescriptor.isInstantiable(StructDescriptor.java:892)
    at oracle.sql.STRUCT.<init>(STRUCT.java:148)
    at oracle.spatial.geometry.JGeometry.store(JGeometry.java:2954)
    at oracle.spatial.geometry.JGeometry.store(JGeometry.java:3777)
    ..........<our package/class>
    Edited by: Jim Atharris on Aug 24, 2009 6:23 PM

    Thanks Toon for your reply.
    Yes each Worker (executing in their own thread) has their own instance of Connection as per the Constructor (shown in original post). That is why this is weird.
    I'll check the v$session when I get into work.
    Based on our code that I put in the original email, Connection is a non-static variable. We have a per Thread per instance of Worker of which that Worker instance has its own instance of Connection. So I'm wonder if the following needs to occur:
    Both of these lines (from original email) need to happen in the main thread as follows:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    for (i=0;i<NUM_OF_WORKERS)
    _Conn = DriverManager.getConnection(url, username, password);
    new Worker(_Conn);
    Thanks,Jim

  • Help please! Java application and web application...

    Hi,
    I have a problem with inserting a java application (Main.java) in a web application(index.jsp).
    I found a source demo of a drag and drop application on the Internet, but now I want to
    have the drag and drop application work in a Jpanel/JFrame in a webapplication.
    The drag and drop application code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class Main {
        public static void main(final String[] args) {
            final ButtonGroup grp = new ButtonGroup();
            final JPanel palette = new JPanel(new FlowLayout(FlowLayout.LEFT));
            palette.setBorder(BorderFactory.createTitledBorder("Palette"));
            final MainPanel mainPanel = new MainPanel();
            mainPanel.setPalette(palette);
            for(int j=0; j<4; j++){
                final JToggleButton btn = new JToggleButton("Panel "+(j+1));
                palette.add(btn);
                grp.add(btn);
                btn.addActionListener(new ActionListener() {
                    public void actionPerformed(ActionEvent e) {
                        mainPanel.setAdding(btn.getText());
            final JFrame f = new JFrame("Drag and drop panels");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(palette, BorderLayout.WEST);
            f.getContentPane().add(mainPanel, BorderLayout.CENTER);
            f.setSize(800, 600);
            f.setVisible(true);
    class MainPanel extends JPanel implements MouseListener, MouseMotionListener {
        private JPanel palette;
        private String adding="";
        private SubPanel hitPanel;
        private int deltaX, deltaY, oldX, oldY;
        private final int TOL = 4;  //tolerance
        public MainPanel() {
            setLayout(null);
            addMouseListener(this);
            addMouseMotionListener(this);
        public void mousePressed(final MouseEvent e) {
            if( adding != "" ){
                setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
                SubPanel sub = new SubPanel(adding);
                add(sub);
                sub.setSize(sub.getPreferredSize());
                sub.setLocation((int)e.getX(),(int)e.getY());
                revalidate();
                adding = "";
                return;
            Component c = getComponentAt(e.getPoint());
            if (c instanceof SubPanel) {
                hitPanel = (SubPanel) c;
                oldX = hitPanel.getX();
                oldY = hitPanel.getY();
                deltaX = e.getX() - oldX;
                deltaY = e.getY() - oldY;
                if( oldX < e.getX()-TOL ) oldX += hitPanel.getWidth();
                if( oldY < e.getY()-TOL ) oldY += hitPanel.getHeight();
        public void mouseDragged(final MouseEvent e) {
            if (hitPanel != null) {
                int xH = hitPanel.getX();
                int yH = hitPanel.getY();
                int xDiff = e.getX()-oldX;
                int yDiff = e.getY()-oldY;
                int cursorType = hitPanel.getCursor().getType();
                if( cursorType == Cursor.W_RESIZE_CURSOR){           //West resizing
                    hitPanel.setBounds( e.getX(), yH, hitPanel.getWidth() - xDiff, hitPanel.getHeight() );
                }else if( cursorType == Cursor.N_RESIZE_CURSOR){     //North resizing
                    hitPanel.setBounds( xH, e.getY(), hitPanel.getWidth(), hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.S_RESIZE_CURSOR){     //South resizing
                    hitPanel.setSize( hitPanel.getWidth(), hitPanel.getHeight() + yDiff );
                }else if( cursorType == Cursor.E_RESIZE_CURSOR){     //East resizing
                    hitPanel.setSize( hitPanel.getWidth() + xDiff, hitPanel.getHeight() );
                }else if( cursorType == Cursor.NW_RESIZE_CURSOR){     //NorthWest resizing
                    hitPanel.setBounds( e.getX(), e.getY(), hitPanel.getWidth() - xDiff, hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.NE_RESIZE_CURSOR){     //NorthEast resizing
                    hitPanel.setBounds( xH, e.getY(), hitPanel.getWidth() + xDiff, hitPanel.getHeight() - yDiff );
                }else if( cursorType == Cursor.SW_RESIZE_CURSOR){     //SouthWest resizing
                    hitPanel.setBounds( e.getX(), yH, hitPanel.getWidth() - xDiff, hitPanel.getHeight() + yDiff );
                }else if( cursorType == Cursor.SE_RESIZE_CURSOR){     //SouthEast resizing
                    hitPanel.setBounds( xH, yH, hitPanel.getWidth() + xDiff, hitPanel.getHeight() + yDiff );
                }else{      //moving subpanel
                    hitPanel.setLocation( e.getX()-deltaX, e.getY()-deltaY );
                oldX = e.getX();
                oldY = e.getY();
        public void mouseMoved(final MouseEvent e) {
            Component c = getComponentAt(e.getPoint());
            if (c instanceof SubPanel) {
                int x  = e.getX();
                int y  = e.getY();
                int xC = c.getX();
                int yC = c.getY();
                int w  = c.getWidth();
                int h  = c.getHeight();
                if(       y >= yC-TOL   && y <= yC+TOL && x >= xC-TOL   && x <= xC+TOL  ){
                    c.setCursor(new Cursor(Cursor.NW_RESIZE_CURSOR));
                }else if( y >= yC-TOL   && y <= yC+TOL && x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.NE_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h && x >= xC-TOL   && x <= xC+TOL ){
                    c.setCursor(new Cursor(Cursor.SW_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h && x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.SE_RESIZE_CURSOR));
                }else if( x >= xC-TOL   && x <= xC+TOL ){
                    c.setCursor(new Cursor(Cursor.W_RESIZE_CURSOR));
                }else if( y >= yC-TOL   && y <= yC+TOL ){
                    c.setCursor(new Cursor(Cursor.N_RESIZE_CURSOR));
                }else if( x >= xC-TOL+w && x <= xC+TOL+w ){
                    c.setCursor(new Cursor(Cursor.E_RESIZE_CURSOR));
                }else if( y >= yC-TOL+h && y <= yC+TOL+h ){
                    c.setCursor(new Cursor(Cursor.S_RESIZE_CURSOR));
                }else{
                    c.setCursor(new Cursor(Cursor.MOVE_CURSOR));
        public void mouseReleased(final MouseEvent e) { hitPanel = null; }
        public void mouseClicked(final MouseEvent e) {}
        public void mouseEntered(final MouseEvent e) {}
        public void mouseExited(final MouseEvent e) {}
        public void setAdding(final String string) {
            adding = string;
            setCursor(new Cursor(Cursor.HAND_CURSOR));
        public void setPalette(final JPanel panel) { palette = panel; }
    class SubPanel extends JPanel {
        public SubPanel(final String name) {
            setPreferredSize(new Dimension(100, 100));
            setBorder(new TitledBorder(new LineBorder(Color.BLACK), name));
    }This application works with JFrame, but I want to display the JFrame in a webapplication (JSP Page).
    I'm using Netbeans 6.0 (GlassFish) to create webapplication using Visual Web JavaServer Faces.
    So in summary:
    How can i display the drag and drop application into a JFrame (better in a JPanel) in a webapplication (index.jsp)??
    Hope you can help...
    Thanks in advance...
    Greetings,
    Rajsh

    So have an applet that opens a JFrame... JSP or not has nothing to do with it, since it's nothing but HTML the client gets.
    You can't have a JFrame embedded in an HTML page. And if you could have an applet but don't know how to get that copied code to fit inside (I mean, content pane is content pane), you might want to consider learning how to do that.

  • HOw to create a Batch file for java application and whats the use of this ?

    HI,
    How to create a Batch file for java application ?
    And whats the use of creating batch file ?
    Thanks in advance

    First of all, you're OT.
    Second, you can find this everywhere in the net.
    If you got a manifest declaring main class (an classpath if needed), just create a file named whatever.bat, within same directory of jar file, containing:
    javaw -jar ./WhateverTheNameOfYourJarIs.jar %*By the way, assuming a Windows OS, you can just double click the jar file (no batch is needed).
    Otherwise use:
    javaw -cp listOfJarsAndDirectoriesSeparedBySemiColon country/company/application/package/className %*Where 'country/company/application/package/' just stands for a package path using '/' as separator instead of '.'
    Don't specify the .class extension.
    Javaw only works on Windows (you asked for batch, I assumed .BAT, no .sh), in Linux please use java.exe (path may be needed, Windows doesn't need it 'cause java's executables are copied to system32 folder in order to be always available, see PATH environment variable if you don't know what I'm talking about) and use ':' as classpath (cp) separator.
    The '%***' tail is there in order to pass all parameters, it only works on Windows, refer to your shell docs for other OSs (something like $* may work).
    This way you have a command you can call to launch your code (instead of opening NetBeans just to see your app working). You could schedule tasks on it or just call it in any command prompt (hope you know what it is 'cause there have been people in this very same forum with no clue about it, if not just hold the 'Windows button' and press 'R', then type 'cmd' and run it).
    Finally add dukes and give 'hem away.
    Bye.

  • How to send attachments using java application and outlook

    Hi ,
    I created an application in java which is as
    on the Conference Tab i can schedule a conference and with the send command on page it map all the scheduled data to outlook(with all conference details) and using outlook send option the mails are send to appropriate user.
    but now i want to modify this application such as when i use the send command from my jsp page it should attach the file that is in .vcs or .ics format for auto updation of user calender.
    can any one know how to send attachment using java application .

    Last time I checked, SMS was a service between carriers and doing SMS yourself was really tricky. Some services existed to let you do it but as I recall they wanted non-trivial money.
    However, most phone carriers provide an email-to-SMS bridge of some kind.
    So the easiest thing is just to send an email.
    That's sending from a non-phone to a phone. There's a J2ME library to send/receive SMS from/to a phone.
    However, this is from memory, and a little out of date, so I could be entirely wrong. Hope it helps anyway.

  • Java Applications and Internet

    Is there a way to make a java application able to upload or download files from a secure internet site?
    i.e. I want o make a program that when I push a button, it uploads my documents to www.boneheadfiles.com (not a real site).

    Then you need to make a dos console-based ftp application. Actually I've never done this per se but it isn't so hard;-
    1. Make a connection
    2. open a socket on port 21
    3. write bytes & send it
    4. Write another class to receive bytes
    Do a search here and in the Java Form for ftp and you'll get lots of source code samples

  • SAP HANA Cloud Portal : Make Widget For Java Application and Display in HANA Portal

    Hi Experts,
    I have created one Java Application using eclipse luno.
    I have successfully deploy on my hanatrial version and able to see the Started Application under the Java Application.
    Can anyone have idea how to use this application in HANA portal and display/ run  this Java Application in SAP HANA Cloud Portal Website.
    I want to know is it possible or not ? and yes then how its possible ?
    What are the steps require to make Widget for this java apps and publish on portal.
    Many Thanks,
    Mithun 

    Hi Mithun,
    yes it's possible and relatively easy - follow Chapter 7 of the guide -
    ESPM WebShop Extension
    Regards
      Kenny

  • Integrate EBS with Java Applications and Legacies

    Hello everybody!.
    I'm a new on SOA and i want start to learn about this, and how integrate EBS and a JAVA application between them.
    I read about the API's that EBS public (API Integrator), but, i don't have idea how i can consult this API's from a simple web services of my java aplication. It's posible to do that without use bpel?
    You could see that i don't have any experience on this, so, if you could tealme about some papers and what tecnology i need to use to resolve that, would be great.
    Thanks to all

    Please people, somebody?
    I need start to integrate ebs with j2ee aplication. What i need to read? What technology it's usefull? It's free (GPL)?
    Please, please, please.

  • Old java applications and Asha touch devices, are ...

    Hi,
    I've read a bit "here and there", but nothing found in this forums or any official thing by Nokia about this.
    Looks like the Asha 306 and 311 phones, both touch devices, are compatible with Java applications. But I have a doubt I can't find an answer to, without a keypad, how manageable are the old java applications designed for a keypad in a touch screen for the Asha touch devices?
    I've read that is possible to manage them because you can display a virtual keypad, but some say that the keypad is very large, covering all the screen. What is truth about this? What is the behavior of such touch devides with old java applications?
    For example, this application if for a keypad to be manageable with the numbers as directions, is it really manageable? could someone test it?
    http://www.languagebug.com/kana_q/
    (this application is just an example, there are lots of applications managed the same way around)
    Are all old java applications manageable the same way?
    Thanks for all your information.
    Regards.

    All you can do is to search apps/games for touch screen.
    There are many games designed to work with all kinds of phones. Many old java games support touch screen too.
    Virtual keypad on my 701 for java apps covers half of the screen. It is comfortable to use though. Virtual keypad has navigation buttons to play games. It appears only for non touch screen games.
    Hope this helps.
    -------------------If this post helped you, click on accept as solution.------------------
    -----------------------------Appreciate by clicking on white star.----------------------------

  • Installer for JAVA application and JVM

    Hi all,
    I want to install a java application(server side). I used free version of InstallAnywhere to do this before. But since my installer may need more complicated operations, like search the registery and detect if they have installed the JVM and Tomcat. if not, suggest them to install, etc. My company do not have the enterprise version of InstallAnywhere, but the InstallShields.
    I am not sure which tool I should use for such installer, InstallShield or InstallAnywhere/ or any other suggestions?
    jing

    I find this link as a good source to know what programs there are for a given tool:
    http://sys-con.com/java/readerschoice2002/
    Click on the "Best Java Installation Tool" link, and check if any of those programs can do what you need.
    InstallShield and InstallAnywhere seems to be the most used programs.

  • Callback by java application in J2ee Server

    Hi all
    I need to pass the client reference in a java application(Not web app) to the bean,whether it is session, entity or message, and allow the bean to callback the client (by invoking the method located at the client side or another mean) when some event is happened. Is it possible? and how to do it?

    Look at the JMS API. Subscribing to a topic is the only way I have found to do what you want to do.
    Let me know if you find something else!

Maybe you are looking for

  • If I press Delete my iCloud account will it delete everything off my phone?

    I have an iCloud username from like 5 years ago. It was never verified. But my phone keeps tryiing to make it THE iCloud account to use. So I want to switch it over to my current apple ID. So If I press"Delete Account" Is that going to wipe my phone,

  • Iphone 4 vs. iphone 4S, siri and other issues

    So, I purchased my iPhone 4 in the last week of August unaware that a new version was coming out in October that had better updates. I'm not really concerned about the hardware aspect of things, but I am upset about other aspects, mainly siri. I know

  • Com.sap.aii.adapter.file.ftp.FTPEx: 550

    Hi, I have the below error in my sender file channel. I also read the following thread FTP Error Error: An error occurred while connecting to the FTP server '10.12.12.101:21'. The FTP server returned the following error message: 'com.sap.aii.adapter.

  • Displaying data from two loops at a time in smartforms

    Hi,   I have 3 line items in an internal table,each of them have excise duty and sales tax item row...now the material is coming from one internal table and excise duty and sales tax from other....how can i loop them so that the data should be displa

  • Re: Locking/Concurrency Options

    Hi, A really real life question. Just one question ... Did you check on the performance? Cause what you end up here in option 2 is doubling the SQL in each update. Agree? [email protected] wrote: The options described in the recent messages are pr