Advantages and disadvantages creation of war file in web application......

Hi friends.... I'm new to java....
according to my little knowledge creating a war file is optional,
but i don't know if we directly deployed web application like servlet application in the web server(ex: webapps in TOMCAT)
what problems may get if my computer system not in the network and what problems may get if my computer system in the network....i know we must create a war file for appropriate application if the server is in remote place....
please reply.....thank you

Isn't it easier to deploy one file than it is to deploy dozens, hundreds, even thousands?

Similar Messages

  • How to create a war file of web application

    Hi Techies
    How to create a war file of the web application?
    And plz tell me the utilities used for it.

    hi,
    To compress a 'abc' web application into a "Web Archive" file named abc.war, follow the steps below:
    1> Open a command prompt and cd to the application's dir:
    <TOMCAT_HOME>\webapps\abc
    2> Use the java archive command 'jar' to bundle up your application:
    jar -cvf abc.war *
    3> Move this to any other server and work with it!! :)
    -- Abdel Raoof Olakara
    http://olakara.googlepages.com

  • Where I can find .WAR file for web UI?

    I would like to use jakarta project
    web container for webUI.How I can accomplish
    this?

    Hello, I mean tomcat of jakarta.apache.org project- it's web container but .war file is web application archive as specified in servlet 2.2 spec.
    Why? I need support for latest spec. servlet 2.2/jsp 1.2 that provided by tomcat 4.0 beta(as standalone it's working fine for me;)). I'll be more concrete
    I need sophisticated JSP rendering engine for:
    Using JSPs of developer guide:
    <
    Deploying Java Beans and JSPs
    All compiled Java Beans must be stored in the directory $ORACLE_HOME/ifs/custom_classes on the server where Oracle iFS is installed.
    The Oracle iFS product comes with a starting-point directory structure. One of the folders in that structure is reserved for holding JSPs: $ORACLE_HOME/ifs/jsp-bin. To have your JSP compile and execute properly in Oracle iFS, you must store the JSP in this folder. JSPs stored elsewhere will not be executed by the Oracle iFS JSP compiler.
    >
    I would like to use web UI as frontend and my JSPs/servlets as extension of this application. It's easy create custom web app if I have ready .WAR file-it's portable
    between web containers and well structured... For example this schema doesn't have such constraints as location of JSPs and beans support classes location is well known-
    WEB-INF/classes for .WAR structured file, in WEB-INF/lib can be placed different ifs libs and all is clean and portable;).
    I mean webUI must not be integrated part of ifs- it must be developer tool( extensible and reusable).By the way who give constraints on JSPs/classes location: HTTP server of ifs
    or webUI?
    It's very nice that IFS has such thing as webUI but that if I can use it as dead(stable) code:(. I need write myself webUI presenting IFS document structure but why?
    Web UI is future(IE 5.5/w3 and other standards based;) so why put on it such restrictions.
    Best regards.
    P.S I can infiltrate web app from ifs- but it's not right(I can do something wrong).If I can help you somehow tell me.
    null

  • Advantages and Disadvantages of File

    Advantages and Disadvantages of File
    Hi Firends,
                  Could you please tell me the Advantages and Disadvantages of using File adapter, i need them urgently.
    Note: High reward points will be given for each answer

    Disadvantage:
    The disadvantage of file adapter is tht it doesnt understand the hierarchy i.e it produces the output in a single line
    It cannot produce the output in the form a hierarchy
    Also File adapter doesnt produce the response neither it supports the acknowledgement.
    Advantages:
    monitoring of file adapter is simplest of all
    It provides us with the facility for using xml file as well as comma separated or falt file or tab separated file
    There is an option while we configure file adapter
    In comm channel in
    Message protocol:File or file content conversion
    plz rewards points
    vikas

  • Advantages and Disadvantages of Dual booting Windows on PXI Device

     
    Hello,
    In solving my previous problem of running a DLL in RTOS I've stumbled upon another solution. But i wanted to know the pros and cons of this before i make the leap.
    I want to install windows on the PXI device so that the NHR DLL files are run inherently on the windows kernel and i have access over my DAQ devices without placing them in the remote target.
    What are the advantages and disadvantages of installing a windows only on the DAQ device and running all my operation from it. Do i loose my real time features? I dont know, I'm really new to LabView and may sound really dumb. Please excuse my lack of knowledge.
    With Regards,
    Khalid.

     
    Hello Bob,
    Thank you for your insightful answer. I also thought this might happen, loosing all the RT features.
    I have another question for you. If i use a RT variant of windows like "Windows Embedded 8", will this make any difference? Can i regain my RT features by it or i have to go with the LabView RTOS.
    I'm pushing towards a windows system because i have to run this DLL file from NHR which is not supported by the LabView RTOS.
    Moreover, I could just install just windows onto the PXI controller. I'm not being able to make it dual boot. Can you guide me towards proper guideline to do so? I looked at the knowledge base file about dual booting, but the instructions dont exactly match with my available options in BIOS setup.
    Any suggestions from anyone is much appreciated.
    With Regards,
    Khalid.
     

  • What are the advantages and disadvantages of suppressed and unsuppressed content in indesign layer option?

    what are the advantages and disadvantages of suppressed and unsuppressed content in indesign layer option?

    I occasionally use layers set to suppress output for holding text that differs from the text in the visible part of a document that I need for variables or TOC entries sometimes, or for notes or guides I want in the file but I don't want printed. You might also want to suppress a layer with some sort of overlay, like the die-lines for a die-cut piece, when you export a PDF for screen viewing.
    I'm sure you can come up with other reasons for having content on a page in the layout, but not in the final output.

  • What are the advantages and disadvantages of suppressed and unsuppressed content?

    what are the advantages and disadvantages of suppressed and unsuppressed content?

    Hi Surya,
    surya n wrote:
    what are the advantages and disadvantages of suppressed and unsuppressed content?
    Are you referring to compressed files in your statement?
    If yes, then let me give you a general idea about it -
    Compressed file occupy less memory space as compared to its uncompressed counterpart, and hence can be uploaded/downloaded faster than the uncompressed one.
    Moreover Compressed files are less vulnerable to Malwares and Trojans, provided it is Locked and encrypted as well, Uncompressed files are more vulnerable to Malwares and viruses in general.
    I would love to help you with your query however i need to know that in which context you are asking this question so that i can point you in the right direction. Moreover please let me know if you are facing any type of Technical issue in any Adobe Product or Online service.
    Regards,
    Rahul

  • Advantages and disadvantages of iCloud and Dropbox

    advantages and disadvantages of iCloud and Dropbox

    iCloud:
    Provides one main @me.com email address and up to three 'aliases' (additional addresses).
    Allows you to sync your calendars between your Mac(s) and iOS devices.
    Ditto with contacts
    Ditto with Safari bookmarks
    Provides a conduit which copies photos taken on any one device onto all the others
    Provides a fairly basic photo gallery (populated only from iPhoto for iOS)
    Provides 'Find My iPhone/iPad' to locate a missing device that is able to connect to a network
    Backs up the contents of your iPhone
    Syncs iWork documents (only) between your Mac and your iPhone
    Tracks the location of your friends (only with their permission)
    Dropbox does not.
    Dropbox provides online general file storage and sharing. iCloud does not.
    Chalk and cheese.

  • Advantages and Disadvantages of Soap

    Advantages and Disadvantages of Soap
    Hi Firends,
                  Could you please tell me the Advantages and Disadvantages of using Soap adapter, i need them urgently.
    Note: High reward points will be given for each answer

    Hello
    SOAP is an XML-based protocol for exchanging information in a decentralized, distributed environment. It was made for Web, a combination of XML and HTTP opens up new options for distributed data exchange and interaction in a loosely coupled web environment. SOAP is a technology that allows XML to move easily over the Web. SOAP does this trough an XML envelope for delivering XML content and specifying a set of rules for services to follow when they receive a SOAP message.
    The fundamental change brought about by SOAP has been the ability to move data anywhere across the Web. Before SOAP there were only two main options for moving data between partners.
    One was to build a wide area network spanning a broad geographic region and let the partners plug into it. This was the approach taken by EDI, which defined messages and protocols for data transfer but left the network details up to the partners. The result was a collection of networks that pretty much locked the partners in and made it difficult and expensive to reach out to other EDI networks and costly to bring in new partners.
    The second approach for moving data between partners was to build a distributed object infrastructure than ran over the internet. This was the approach taken by Common Object Request Broker (CORBA), Remote Method Invocation (RMI) and Distributed Component Object Model (DCOM). The problem was that each had to decide on a protocol that could sit on top of TCP/IP and handle inter object communication. CORBA Chose Internet Inter-ORB Protocol (IIOP), DCOM chose object Remote Procedure Call (ORPC), and RMI chose Remote Method Protocol (JRMP). While this approach reduced the need to share the same underlying network, the drawback was that CORBA could talk to CORBA, RMI to RMI and DCOM to DCOM, but they neither could talk to each other nor directly to the web except through special sockets that required adding extra layers to an already complex architecture.
    SOAP the third option, combines the data capabilities of XML with the transport capabilities of HTTP, there by overcoming drawbacks of both EDI and tightly coupled distributed object system such as CORBA, RMI and DCOM. It does this by breaking dependence between data and transport and in doing so opens up a new era of loosely coupled distributed data exchange.
    SOAP Carries an XML RPC tradition by defining an XML language for packaging arbitrarily XML inside an XML envelope. Although SOAP does not depend on HTTP, the momentum behind SOAP is attributable to the fact that HTTP will usually be used for transfer protocol for SOAP messages.
    SOAP is a transport protocol similar to IIOP for CORBA, ORPC for DCOM or JRMP for RMI.
    SOAP differs from CORBA, RMI or DCOM in several ways.
    IIOP, ORPC and JRMP are binary protocols, while SOAP is a text based protocol that uses XML. Using XML for data encoding makes SOAP easier to read than a binary stream.
    1) Because SOAP is text based, it is able to move more easily across the firewalls than IIOP, ORPC or JRMP.
    <p2) SOAP is based on XML, which is standard driven rather than vendor driven. Potential adaptors are less likely to fear vendor lock in with SOAP. </p2>
    The net effect is that SOAP can be picked up by different transport protocol and delivered in different ways. For example, when used with HTTP it can be delivered to a web server, when used over FTP it can be deposited directly into a file system and when used with SMTP it can be delivered to a user's mailbox.
    Many companies exchange data between established partners is proving totally satisfactory way to leverage the benefits of XML and the web. In this scenario the required are an agreed upon schema either DTD or an XML schema, for XML data being exchanged and the SOAP server capable of handling the incoming XML as it arrives over the web. Details about what kind of schemau2019s to expect and who will check the XML conforms to the schema are decided offline by individuals participating in the process. On the software side senderu2019s needs to be involved in packaging their data in an XML document. For those companies already storing data in XML, this should require only minimal effort. If the stored XML data is not in the form required by the agreement, an XSL Transformation(XSLT) style sheet can be programmed to automate the transformation.
    SOAP messages define one way data transmission from sender to the receiver. However SOAP messages are often combined to implement patterns such as request-response. When using HTTP binding with SOAP, SOAP messages can use the same connection as the inbound request.
    Regard's
    CHETAN AHUJA

  • Advantages and Disadvantages of XML over CSV

    Hi friends,
    We have a requirement in our implimentation project. We are implimenting HR module. The company is using SABA for Education and Certification.
    We are implimenting Education and certification in BW and the data for BW will be comming from SABA.
    We had a discussion on thursday about the integration of SABA to BW. We can do it through DBconnect or by using XI and for this there is time and cost involved.
    The techical team has come with some idea where there will give the data in the form of XML or in CSV format.
    I would like to know the advantages and disadvantages of each and also please consider the performance point in view.
    I would also like to know about the things that need to be  considered if we process the data in multiple files.
    Please give me inputs and the answers will be appreciated with valuable points.
    Regards
    Raghav Reddy

    Hi,
    my advice is to go for CSV anytime compared to XML.
    XML is first made available to the BW system via  SOAP ( Simple Object Acess protocol) interface. Next it is updated into the required data targets as before , Via a data source for the myself source system.
    SOAP = XML+HTTP.
    XML cannot be used for mass data. It is only to load small data into SAP BW on a single document level.
    BW provides flat file interface so, there is no all these hassles in case of CSV. go for CSV

  • Advantages and Disadvantages of JMS Queue over Fabric

    HI,
    I want to know both the advantages and disadvantages of using JMS queue over the default Fabric queue in B2B adapter.
    Is it ok if I configure all my inbound and outbound transactions across all the trading partners to communicate with their respective SOA composite via the default JMS Queues(B2B_IN_QUEUE and B2B_OUT_QUEUE)?
    Please advise.
    Thanks in advance.
    Regards,
    Monica

    Hi Monica,
    But the size of the payload which I am using is unpredictable, it can differ from 1 MB to 40MB in future.This is not a problem. B2B can handle MB's of file if server has enough resources.
    all other payloads greater than 3MB, it is getting faulted with the message:
    "SAX Exception in translator. SAX Exception raised while trying to SAX Parse InputStream . Please make sure that the xml data is valid."Please remember that when B2B will find a large payload then it will write the large payload into the "Large Payload Directory" (defined in Administration--> Configuration) and pass it's reference to the middleware. So at middleware, you will not receive the actual payload but you will receive it's reference. Using File adapter sync read option, you may read the large file from "Large Payload Directory" at SOA layer.
    If you are using PS5 (11.1.1.6) then you will see that for large payload, B2B passes the JMS header LARGE_PAYLOAD to the back-end so in your composite, you may build logic around this. If this header (LARGE_PAYLOAD) is not coming at SOA layer then payload will be available in the body and if it is populated then payload will be available in the "Large Payload Directory" and it's reference will be available in the message body.
    Regards,
    Anuj

  • Advantage and Disadvantags of ActionScript 3

    Hi professionals of ActionScript 3!
    I just started flash animation and learning ActionScript. But
    I found one thing that there existing ActionScript 1, 2, 3 versions
    and ActionScript 2 components is using only ActionScript 2 code.
    Please tell me advantages and disadvantages of both ActionScript.
    Please advise which is powerful and has more info and sources. What
    kind of links between then existing.
    Thanks in advance!
    Said Babanli

    Said,
    > Please tell me advantages and disadvantages of both
    > [versions of] ActionScript. Please advise which is
    > powerful and has more info and sources.
    ActionScript 1.0 and 2.0 both run on the same virtual
    machine (AVM1)
    inside Flash Player. As of Flash Player 9, the player runtime
    features two
    virtual machines (AVM1 and AVM2), the second of which runs
    ActionScript 3.0.
    Right off the bat, this tells you that Flash Player 9 or
    higher is required
    if you want to program with ActionScript 3.0. In one sense,
    that's a
    potential "disadvantage" of AS3: if your users have Flash
    Player 8 or lower
    installed, you simply can't use that version of the language.
    Instead,
    you'll have to use AS2 (as far back as Flash Player 6) or AS1
    (as far back
    as Flash Player 5), or slash-notation proto-ActionScript if
    you need to go
    even further back than that. Ultimately, then, the version of
    ActionScript
    you use depends on the version of Flash Player you expect
    your users to have
    installed.
    AS2 is the first version of ActionScript to officially
    support custom
    classes (external text files structured in a particular way,
    using folders
    for classpaths and the "class" keyword). For more information
    on
    classpaths -- written for AS2, but basically applies to AS3
    -- see this URL:
    http://www.quip.net/blog/2006/flash/understanding-classpaths
    For many people (myself included), custom classes provide a
    powerful way
    to organize code into reusable objects -- just like the given
    objects in
    ActionScript's native API. Be aware, however, that custom
    classes are *not
    a required workflow* in AS2 or AS3. If you prefer, you may
    place your AS2
    or AS3 code into timeline keyframes, just like with AS1.
    Contrarily, even
    though true classes are not officially supported by AS1, you
    can mimic many
    of the benefits of classes by following the instructions here
    (an incomplete
    resource, but very useful):
    http://www.debreuil.com/docs/
    It would take pages and pages of notes to give you a
    thorough list of
    the benefits (and disadvantages!) of every version of
    ActionScript. Even
    then, it would be difficult to demonstrate that such a list
    was complete, so
    to keep things simple: as a general rule, each new version of
    ActionScript
    is presumed to be better than its predecessor. AS1 was more
    powerful than
    Flash 4-era ActionScript because it provided a considerably
    larger API. AS1
    also made it easier to target objects with dot notation than
    with slash
    notation and cumbersome getProperty() and setProperty()
    functions. AS2 was
    more powerful than AS1 because it provided native support for
    classes. It
    introduced variable typing, which helped with code completion
    and
    compile-time error checking. (AS2 also coincided with an even
    larger API,
    but that's a parallel benefit due to increased functionality
    in subsequent
    versions of Flash Player.) AS3 is more powerful than AS2
    because the syntax
    of custom classes has become more strict. I personally find
    that stricter
    syntax helps a programmer avoid "lazy" or "sloppy" practices,
    encouraging
    the programmer to code with purpose.
    For more thoughts along these lines, here's a free excerpt
    from a book I
    recently co-authored for O'Reilly (bear in mind, these are
    largely
    subjective opinions, but they work for me):
    http://www.communitymx.com/abstract.cfm?cid=16D76
    I'll probably start repeating myself soon, but to sum up:
    AS2 has
    advantages over previous versions because it provides
    numerous options and
    improvement in ease of use. AS3 improves even further by
    "cleaning up" the
    language by making it more strict and by providing a stronger
    internal
    consistency.
    Here are a few quick examples.
    In AS2, to create an instance of the Sound class (that is,
    an object you
    can use for programming audio), you simply use the "new"
    keyword:
    // AS2
    var mySound:Sound = new Sound();
    Most classes can be instantiated in this way, but in AS2,
    there are
    notable exceptions, including movie clips and text fields.
    // AS2 -- this does NOT work!
    var myMC:MovieClip = new MovieClip();
    var myTF:TextField = new TextField();
    This can be confusing to a newcomer, because it seems so
    arbitrary.
    (Someone new might well think, "Why can't instances be made
    the same way
    across the board?") In AS3, instantiation is more consistent:
    // AS3
    var mySound:Sound = new Sound();
    var myMC:MovieClip = new MovieClip();
    var myTF:TextField = new TextField();
    This is also true for event handling. In AS2, there are four
    or five
    ways to do it: the on() and onClipEvent() functions, their
    dot notation
    equivalents, addListener(), and addEventListener(). They're
    all valid in
    AS2, but not all interchangeable. Some work for components,
    some for other
    sorts of objects. It takes effort to memorize which objects
    work with which
    approach. In AS3, outside of a very small number of
    exceptions, most event
    handling is done with a single, consistent approach:
    addEventListener().
    For a newcomer, this is easier to learn because once the
    technique is
    understood, it works in nearly every scenario.
    As far as performance is concerned, AS3 trumps AS2
    significantly. AS3
    performs better and faster than all previous versions of
    ActionScript -- but
    you'll only notice this with complex applications, especially
    those
    involving a high volume of number crunching.
    Here are a few more links that may prove helpful to you:
    ActionScript 3.0 Overview
    http://www.adobe.com/devnet/actionscript/articles/actionscript3_overview.html
    Tips for Learning ActionScript 3.0
    http://www.adobe.com/devnet/actionscript/articles/actionscript_tips.html
    ActionScript 3.0: Is it Hard or Not?
    http://www.insideria.com/2008/01/actionscript-30-is-it-hard-or.html
    You also asked which version of the language has more "info
    and
    resources." By that, I assume you mean online resources, such
    as blogs,
    tutorials, and so on. That question is hard to answer, but my
    *guess* is
    that there are still more resources online about AS2 than AS3
    ... but AS3
    will probably catch up soon.
    David Stiller
    Co-author, Foundation Flash CS4 for Designers
    http://tinyurl.com/5j55cv
    "Luck is the residue of good design."

  • Advantages and disadvantages for having the central purchasing organization

    Hi all,
    Cud neone list out the advantages and disadvantages of having central purchasing organization.
    and what is the best practice of selecting the puchasing organization.
    Thanks

    Hi
    <i><b>Cud neone list out the advantages and disadvantages of having central purchasing organization.</b></i>
    Rather than asking for the advantages and disadvantages it will be helpful if u see why the functionality of having the purchase organisation centrally and decentralised has been provided in SAP. I hope u have seen the help file in ur SAP about purchase organisation.
    The point u can note down which will be of importance is <b><i>Each purchasing organization has its own info records and conditions for pricing.</i></b> if u go for the centralised purchasing organisation say in company code u have three plants and purchasing organisation is for all theree plants, then the conditions and inforecords holds for all the thrre plants. If u go for the decentralised say for each plant different purchse organisation then each plant has its own inforecords and conditions. This is upto the business requirement which u should select.
    Similarly u can use this logic for the following cases
    Each purchasing organization has its own info records and conditions for pricing.
    Each purchasing organization has its own vendor master data.
    Each purchasing organization evaluates its own vendors using MM Vendor Evaluation.
    Authorizations for processing purchasing transactions can be assigned to each purchasing organization.
    All items of an external purchasing document, that is, request for quotation, purchase order, contract, or scheduling agreement, belong to a purchasing organization.
    The purchasing organization is the highest level of aggregation (after the organizational unit "client") for purchasing statistics.
    The purchasing organization serves as the selection criterion for lists of all purchasing documents.
    Here u can apply the logic and see how centralised and decentralise purchasing organisation effects. Whethe u want the data should be applicable for all plants then go for centralised if not go for decenralised.
    <i><b>what is the best practice of selecting the puchasing organization.</b></i>
    I think there is no best practice as such and it depends on how u r company business works.
    I welcome the comments from experts if there is any best practice.
    Thanks
    Ravi

  • Advantages and Disadvantages of calling java from PL/SQL

    Hi,
    I have one doubt. What are all the advantages and disadvantages of the calling java from PL/SQL?
    In actual scenario the java program will be in the Application server side. It will do the operation and it will store the result in Data base. But in this case (calling java from PL/SQL), we are loading the java program in the Data base and it is doing the operations.
    I have seen many posts are coming regarding loading jar files into the database. Actually the jar will deploy in to Application server. Is there any difference instead of keeping in the Application server side?
    Then I have read,
    advantages:
    -> java having lot API's. so PL/SQL can use that API's.
    -> if we can not do anything in PL/SQL. we can do it using this mtd(calling java from PL/SQL).
    My questions:
    -> could you explain what are all the things we can not do but we can do using "calling java from PL/SQL" method?
    -> is there any other advantages?
    Disadvantages:
    -> the performance is very slow in calling java from PL/SQL.
    My questions:
    -> Then why others are loading java files and jar files into database?
    -> is there any other disadvantages?
    Could you explain about this one? It will be more helpful to others also…
    Regards,
    kk

    Hi,
    You can read the free first chapter of my book @ http://www.amazon.com/gp/product/1555583296/ (see details then Excerpt)
    Kuassi http://db360.blogspot.com

  • Advantage and Disadvantage of Upgrade

    Can anyone tell what are the advantages and disadvantage of upgrading weblogic server from one version to another. Also can I have a comparison of weblogic 10.3 and weblogic 10.3.3.

    Hi,
    To see all the new features in Weblogic Server 10.3.3 and 10.3 can be found in the below link which would help you to compair between them
    Topic: What’s New in Oracle WebLogic Server - WLS 10.3.3
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13852/toc.htm
    Topic: What’s New in Oracle WebLogic Server - WLS 10.3
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/notes/new.html
    Advantages for upgrade is that you most of the bug would be fixed in the higher verison and can also get more features in it too. However few things which everyone has to keep in mind during upgrading the sever are like
    - Make sure you have a backup of a domain, any other external applications also application database resources etc before upgrading. However normally upgrading process has an option if you need a backup but that would only backup the domain directory only.
    - Upgrading process would recreates the scripts like start-up and shut-down scripts, hence any customization made in them would not be taken, thus keep a backup of the scripts also.
    - Usually when you run the process then the old domain is been updated by the new scripts, domain structure etc however everything is done at the same old place where your domain is kept.
    - This process does not upgrade a JMS JDBC or file store.
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

Maybe you are looking for