How to integrate norton antivirus in java application

hi all
I would like to know that if their is any way of Configuring external applications with java.what my requirement is that i have to scan the files to be uploaded in java application(and i have to use norton antivirus) and before storing them i have to scan them using antivirus software.
thanks

Again: read NA manual first.
http://forum.java.sun.com/thread.jspa?forumID=31&threadID=742217

Similar Messages

  • I need to Integrate microsoft outlook with java application

    I need to integrate outlook express with java application
    can anyone help how should i proceed with that
    Thanks in advance

    I'm not sure that there is a generically understood
    meaning for the word. Why do people enjoy being nasty
    on these threads? I was just trying to get some more
    info to help the guy out. Aren't these forums around
    to help solve problems? Why not be positve?the humorous remark was not directed at you, but merely a commentary on the sheer magnitude of obtuse questions received here. i think it is positive, because it may enlighted those who intend to ask questions to better formulate theirs before submitting.

  • How to run ear file in java application server

    i want how to run .ear file in java application server
    1. i m created ear file
    2. i m created jar file (bean,home,remote)
    3.i m created war file(in the form of jsp)
    but till now i couldnt run ear file
    how to run
    please hel me

    You must create :
    1.Jar file
    2.War file
    And then put them into an ear file
    Exemple : myapp.ear contains
    myappEJB.jar
    myappWEB.war
    META-INF/application.xml
    and application.xml looks like this :
    <application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
                            http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
        <display-name>myapp</display-name>
        <description>Demo application</description>
        <module>
            <ejb>myappEJB.jar</ejb>
        </module>
        <module>
          <web>
             <web-uri>myappWAR.war</web-uri>
             <context-root>/myapp</context-root>
          </web>
        </module>
    </application>Good luck

  • How many web.xml in a java application

    Hi,
    can anyone give tell the answer for this question "How many web.xml in a java application?"

    1Why ?Because the Web container refers to only one web.xml for one web application.
    I havent heard of an application having more than 1 web.xml
    How?It reads all the definitions of servlet mappings, filters, welcome-file etc from this file itself.
    Where?From the following folder ...
    /WEB-INF
    By the way ..... the way you questioned me was amuzing ... Why? How ?Where ? Its funny :D
    I actually wanted to reply as below ..
    Why ?Why not
    How?
    Wait lemme think ....ummm... What do you mean how??
    Where ?
    Inside the web ;-)
    -Rohit

  • How do i  open browser in java application

    hi....
    please help me!!!!!!!!!!!!!!!!!!!!!!!!!!
    how do i open browser in java application ? ( for show javascript in java application)
    thank you.......

    You can run any program from java by doing
    Runtime.getRuntime().exec("mybrowser myjavascriptfile.js");
    The real question is why would you want to.
    I would suggest you rethink whether running Javascript from Java is a good idea.

  • How to transfer parameters to Webdynpro Java application ?

    Hello guys,
    I had developed a Webdynpro Java application "ZWD", it's URL is
    "http://jt-pldev:50000/webdynpro/dispatcher/local/ZWD_FLIGHT/ZWD".
    "ZWD" had 2 input parametere "InputField" and "InputField1" .
    Accroding to SAP Online Help  document, we can transfer parameter Webdynpro application .
    I want to transfer parameters to application "ZWD"  via URL
    "http://jt-pldev:50000/webdynpro/dispatcher/local/ZWD_FLIGHT/ZWD?InputField=Frankfurt" .
    But it failed.
    My questions:
    1. How to transfer parameter to Webdynpro Java application "ZWD" ?
    2. Does it possible that transfer input parameter to Webdynpro application and run the applicaiton via specific URL ?
    BR,
    Louis

    Hi Louis,
    You can refer to the following Bertram's article:
    [Inter-Application-Navigation in Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/user-interface-technology/wd%20java/wdjava%20archive/inter-application-navigation%20in%20web%20dynpro.pdf]
    The process of accessing the Application URL parameters is explained for Target Component.
    Regards,
    Alka.

  • How do i show javascript in java application?

    hi.......
    how do i show javascript in java application? ( run javascript in java application )
    thank you...
    ( i love java developer)

    From java you can run any program. You can run javascript in a browser.
    So you need to open a browser in java to run the javascript.
    This is unlikely to have the desired effect however. Why do you want to this?

  • 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();".

  • How do i show vbscript into java application?

    hi
    how do i show vbscript into java application? ( looks like microsoft frontpage)
    or what is interpreter of vbscript for java ?
    thank you?

    There probibly isn't one.
    vbscript and java are rather different. You are better of opening a vbscript viewer from java as a sperate program.

  • How do i show javascript into  java application?

    hi
    ( please help me!!!!!!!!!!!!!!!!!)
    how do i run javascript into java application ?( looks like microsoft frontpage )
    thank you ?

    There is a JavaScript interpreter called Rhino implemented in Java, maybe you can use it: http://www.mozilla.org/rhino/

  • How to add images into a java application (not applet)

    Hello,
    I am new in java programming. I would like to know how to add images into a java application (not an applet). If i could get an standard example about how to add a image to a java application, I would apreciated it. Any help will be greatly apreciated.
    Thank you,
    Oscar

    Your' better off looking in the java 2d forum.
    package images;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.FileInputStream;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    /** * LogoImage is a class that is used to load images into the program */
    public class LogoImage extends JPanel {
         private BufferedImage image;
         private int factor = 1; /** Creates a new instance of ImagePanel */
         public LogoImage() {
              this(new Dimension(600, 50));
         public LogoImage(Dimension sz) {
              //setBackground(Color.green);      
              setPreferredSize(sz);
         public void setImage(BufferedImage im) {
              image = im;
              if (im != null) {
                   setPreferredSize(
                        new Dimension(image.getWidth(), image.getHeight()));
              } else {
                   setPreferredSize(new Dimension(200, 200));
         public void setImageSizeFactor(int factor) {
              this.factor = factor;
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              //paint background 
              Graphics2D g2D = (Graphics2D) g;
              //Draw image at its natural size first. 
              if (image != null) {
                   g2D.drawImage(image, null, 0, 0);
         public static LogoImage createImage(String filename) { /* Stream the logo gif file into an image object */
              LogoImage logoImage = new LogoImage();
              BufferedImage image;
              try {
                   FileInputStream fileInput =
                        new FileInputStream("images/" + filename);
                   image = ImageIO.read(fileInput);
                   logoImage =
                        new LogoImage(
                             new Dimension(image.getWidth(), image.getHeight()));
                   fileInput.close();
                   logoImage.setImage(image);
              } catch (Exception e) {
                   System.err.println(e);
              return logoImage;
         public static void main(String[] args) {
              JFrame jf = new JFrame("testImage");
              Container cp = jf.getContentPane();
              cp.add(LogoImage.createImage("logo.gif"), BorderLayout.CENTER);
              jf.setVisible(true);
              jf.pack();
    }Now you can use this class anywhere in your pgram to add a JPanel

  • How to call a stand alone java application from ADF BC JSP, struts or JSF

    Hi,
    My requirement is that there are utilities or stand alone java applications that I want to call from our existing applications.
    We have two seperate applications one ADF BC Struts application we developed using JDeveloper 10.1.2 and another ADF BC JSF application we developed using JDeveloper 10.1.3.2.
    We want to integrate applications like JTwain and others to help us in scanning. The application will be placed on the same server as our application. How can I do this without loosing all the current session information.
    Please help.
    Thanks and regards,

    There are two possible solutions.
    First, if the tool or application you want to integrate, has an Java-API you can use this api and integrate the tool in your application (using one or more jars you add to the classpath).
    Second, if the tool has no java api, you can call the tool via runtime.exec(...) as a shell process. This way you open a command shell in you application and execute the tool like you do on a normal command shell.
    For tide integration and control I recommend the first approach. The second one is only for those tools which don't offer a java api.
    Timo

  • How to let users run your Java application

    Hello,
    I'm writing an application using JBuilder7 and it's wonderful designer: so far it is composed by only 2 class and imports java.awt.* and javax.swing.* (SDK 1.4)
    Now, I've yet to finish it but I was wondering: "how will users be able to use it?"
    I don't want them to install 30+ Mb of SDK so I've looked into the forums and elsewhere and come up with several answers:
    1) Let them install JRE: but it's 10+ Mb and they would need to download it separately from my program.
    2) Let them use somehow their browser's JVM..(should I turn my application into applet for this? I guess so)
    3) Make an .exe: I know there are many programs to make .exe from java but they would make a one-platform-based file.
    Also there were many hints about using .jar files to get things easier.
    Is there a 4th option in which users have to download only a few mbs to use the application?
    And about .jar, how should I use it?
    Thank you very much for all your help :)

    Simply put - the users must download or be supplied the JRE. This must be installed before they can execute your java application.
    As to distributing the application itself - You can jar (Java Archive) your classes into a single file.
    You could as has been suggested create an EXE, but these generally are very large and tend to severely restrict the range of java technologies able to be used (EG Serialization, RMI, Reflection, class loading, ...)
    Java is not intended for little tools that get installed separately - It is intended for larger applications or small applets in which case the download of the JRE is a minor concern.
    Note that applets targeting Java 1.1.7 functionality work fine with most old browsers inbuilt JVMs - Your customers browser may not however have an inbuilt JVM and the user will still need to download the JRE to execute a SWING based applets.
    Talden

  • How can I create a scheduled java application/task?

    Hi,
    Being a complete newbie to the Java language, I hope I am forgiven if the above is blindingly obvious.
    I have a java application which I have developed that when run from the command prompt (java xyz) selects a bunch of records from my database, then creates a text file with the results. Pretty simple stuff.
    My question is, how can I automate this process? I would like it to run every night at midnight. Will I have to create a batch file? If so, how? Help!!
    Any advice would be much appreciated :)
    Thanks, Chris

    Scheduling a task is a very Operating System dependent operation. It does not exist in some OS's without some kind of addin. Things of this sort are usually not done exclusively in Java, unless you want to have your application running all the time and simply perform some operation at a specific time (see Timer). Otherwise look on google.com for 'scheduler' and 'windows 98' for example.

  • How to track session in Webdynpro Java application

    Hi All,
    How to get the session reference of any Webdynpro Java Application . My purpose is that thr is one WD application is getting launched , now if suppose user didn't perform any action on it and session for that application got expired . After the session got expired i have to update the table with the status . So to track that i need the session reference of WD application which i m looking for .
    How could i get the same . Kindly help me on this .
    Thanks & Regards,
    Mitul.

    Hi ,
    HttpSession session = request.getSession(false); //get the current session, if there is no session yet, return null
    if (session == null) //forward to first page
    else //do normal work
    Then u can update ur session right ,
    Regards ,
    Venkat

Maybe you are looking for

  • Fillable forms come back BLANK mainly from Mac Users

    Hello, I created a fillable form from scratch in Adobe Acrobat 9 Pro Extended version 9.3.2, using Adobe Livecycle Designer ES version 8.2.1.  I'm on Windows XP.  When I first created the form I saved it on the company server, but, I can't remember w

  • Keep sleeping with external display

    I just got a brand new samsung syncMaster (730mw to be exact) and went right on to pug it into my 12 inch powerbook, with the help of my minidvi to DVI of course. I followed apple's "correct" procedure. Connecting the power cord, hook up external mon

  • Iweb 08 and iweb 06 issues, need help

    i have an old white imac running tiger ilife 06 and i made a website on iweb in it, then i got a new macbook running leopard and ilife 08, how do i transfer the project from one to the other? i rang a few apple stores and i couldn't understand what t

  • Nokia Pro Cam: Color Temperature / Balance

    As a creative I purchased this phone as to take better photos. As it does that sometimes others the auto color balance doesn't get it correct. Using the limited manual settings isn't very good either as usually they are worse. If anyone at nokia read

  • DAQMX vi files missing

    When trying to open some examples to use the TC01, labview tries to find these files but can't find them: DAQmx Read (Analog DBL 1Chan Samp).vi DAQmx Create Channel (AI-Temperature-Thermocouple).vi DAQmx Create Virtual Channel.vi DAQmx Clear Task DAQ