What is the advantage of a JAR file?

what are the advantages of a JAR file?
is it faster to compile?
tell me why it does exist...
thanks

There should be lots. From the top of my head:
1) Compressed jar files are faster to download.
2) Browser only needs to open a single connection to download one jar files instead of multiple class files.
3) All class files are present at execution instead of being downloaded on a needs-basis which usually causes delays in the applet.
4) Jar files can be signed.
5) User doesn't need to juggle around several files at once nor do they need to deal with folders.
Of course there are disadvantages as well so you should weigh your options before diving in.

Similar Messages

  • What are the advantages of idoc compare to flat file. how data is secure

    what are the advantages of idoc compare to flat file. how data is secure in idocs compare to flat file

    Hi Ramana,
    In simple words, Main advantage with idoc over flat file is security....
    I will explain you some scenario here U got a flat file with all the data...Now u r having the flat file if you want u can modify the data in it, or somehow any one can modify the data in it  if they were able to access this file. That means u maintained the file in the presentation server
    One level of higher security to the above level is maintaining the flat file in application server, at point also even though lot of people r not having the access to that file, super user who is  having  the access may modify the data or delete the data from it rite....
    so in both of those levels u don't have 100% security...
    So there come to the picture of idocs, Idocs simply data carriers, those r generated by a program but not manually...data will be divided into number of segments based upon ur program. So manually its not so easy to modify the data in these idocs. If any changes to be made in the data then u have to modify the data in the application and then u have to update the idoc or you have to generate the new idoc with that corresponding data. so in this case not even super user can manipulate the data directly in the idoc....
    I think u got my point what I mean to say.....
    If you find it useful mark the points
    ~~Guduri

  • What is VIEW in Database table what is the advantage

    Hi:
    I would like to get your opinion on what is the advantage of Table VIEW?
    I read a note saying it is all about simplifying Query.
    But when you come to XMLTYPE where there is only ONE ROW and NO COLUMN,
    How do you create XMLVIEW for a large XML files?
    Please help
    Ali_02

    Overview of Views
    Read here...
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/schemaob.htm#i20690
    XMLView or XMLTYPE ?
    Overview of XML in Oracle Database
    Read here...
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10713/cncptdev.htm#CNCPT1535
    Edited by: ordba on Mar 4, 2010 9:50 AM

  • What is the advantage of using IB to create XIBs/Class Objects over coding?

    Hi all,
    I hoping someone can provide me some pros and cons as to when I should use IB to create XIBs and/or class objects as opposed to directly coding them.
    For example, if I choose Apple's Template for creating a Navigation Based Application (cocoa touch), the project creates two NIB files - MainMenu and RootViewController.
    However looking at one of demo apps SimpleDrillDown, it does not have a RootViewController XIB and instead creates it via code.
    Another example from the same two apps is that the template generates a "Navigation Controller" class object in the Mainmenu.xib. SimpleDrillDown does not bother with this in the XIB, but uses code to generate the controller:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    // Create the navigation and view controllers
    RootViewController *rootViewController = [[RootViewController alloc] init];
    UINavigationController *aNavigationController = [[UINavigationController alloc] initWithRootViewController:rootViewController];
    self.navigationController = aNavigationController;
    [aNavigationController release];
    [rootViewController release];
    // Configure and show the window
    [window addSubview:[navigationController view]];
    [window makeKeyAndVisible];
    as opposed to the template which only needs this:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    // Configure and show the window
    // Navigation Controller is defined in MainWindow.xib
    [window addSubview:[navigationController view]];
    [window makeKeyAndVisible];
    So what are the advantages of each approach. Why does apple suggest one approach and yet all its demos use another.
    Any thoughts, answers gratefully received.
    TIA, Michael.

    You can do whatever you're comfortable with, but most of the best Cocoa programmers--the ones on the Mac, I mean--recommend putting everything you can into Interface Builder.
    It's a little like the difference between writing a program to do a bunch of financial calculations and using a spreadsheet. Yeah, the program can do everything the spreadsheet can--and more besides--but you'll find it far easier to create, use and modify the spreadsheet.
    Interface Builder takes away a lot of completely meaningless choices ("What order should I create the objects in? How should I name the variables? How should I create their frames? What order should I set the attributes in?"), leaving you with an interface optimized for creating and arranging objects, and allowing your code to focus on what you really do need to think about--your application's logic.
    (By the way--part of the reason Apple's demos don't all use Interface Builder is that the very first SDK releases didn't have it. Back then, you had to create all your views programatically. Believe me, I have no wish to go back to setting autoresize masks manually. Now get off my lawn, whippersnapper.)

  • What are the advantages of compressor and it it even necessary

    what are the advantages of compressor and it it even necessary?

    Necessary for some and not for others – probably a large majority – who can by with the presets avalaible in FCX.
    The users who need Compressor are those who want to control the parameters of the encodes to get the best possible trade-off between file size and quality. Or those who want to do things like standards conversions, complex frame speed changes, better re-scaling capabilities, de-interlacing, re-interlacing, output formats beyond which are available in FCX, chapter markers for DVD and Blu-Ray authoring, batch conversions for multiple purposes through droplets, access to clusters for faster rendering.
    Russ

  • What is the advantages of polymorphism over method overriding?

    what is the advantages of polymorphism over method overriding,that means if we are able to to create object at different instances at diff time for that sub class reff variable than what is the need of careating object of super class data type(i.e why always it is necessary to have upcasting for polymorphism?but if we can achive the same output without upcasting).....please tell me..lets have complete discuss..

    Seriously though....
    WebLogic (for which I have deployed many apps on) as
    well as Websphere are both high end Java application
    servers, meaning J2EE servers (in short). They allow
    one to deploy Enterprise Archive(EAR), a Web
    Archive(WAR), or an EJB Archive (in a JR file).
    These two servers allow one to deploy EJBs, use
    e JNDI, JMS, connectors, and other J2EE technologies
    - Tomcat does not. well, EJBs - no
    JNDI, yes - http://tomcat.apache.org/tomcat-4.1-doc/jndi-resources-howto.html
    JMS - yes (with an implementation, such as ActiveMQ: http://activemq.codehaus.org/Tomcat)
    Not sure what you mean by "connectors".
    Tomcat provides quite a bit of functionality (but yes, no EJBs)

  • How do you know the version of a JAR file ?

    how do you know the version of a JAR file ?
    is it what is written on MANIFEST.MF ?
    for example i have a JAR file
    whose MANIFEST.MF has this
    Manifest-Version: 1.0
    Created-By: Ant 1.4.1so, whats the version of this JAR ? 1.0 ?

    anyway, that was JSTL..jar.
    Now, come to another JAR file....
    whose MANIFEST.MF has......
    Manifest-Version: 1.0
    Created-By: Apache Ant 1.5.1
    Extension-Name: Struts Framework
    Specification-Title: Struts Framework
    Specification-Vendor: Apache Software Foundation
    Specification-Version: 1.1
    Implementation-Title: Struts Framework
    Implementation-Vendor: Apache Software Foundation
    Implementation-Vendor-Id: org.apache
    Implementation-Version: 1.1
    Class-Path:  commons-beanutils.jar commons-collections.jar commons-dig
    ester.jar commons-logging.jar commons-validator.jar jakarta-oro.jar s
    truts-legacy.jarso, How do you believe whats the version now ? do u go with the comment "Manifest-Version: 1.0" or "Specification-Version: 1.1" ?
    definitely, you would go with the "Specification-Version: 1.1" and declare this JAR as STRUTS 1.1
    hmmm, so, if nothing is mentioned like above should we follow the MANIFEST version as the JSTL version ? in my earlier example i did not find any comment on ""Specification-Version" ......so , if anybody gives me that JAR , how do i decide whether its 1.0 specification or 1.1 specifucation compliant ?
    can you tell whats the JSTL version of my earler example JAR file ?

  • I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?

    I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?  How do I set this up?????

    I think he means to set up the main extreme as the main router or "main base station", and then use the express to "extend" the network.
    You can look up the manual for your express here for more details:
    http://support.apple.com/manuals/
    Extend the range of your network by adding AirPort Express to your existing AirPortExtreme or AirPort Express wireless network (this is called a Wireless DistributionSystem, or WDS). "
    Extending the Range of an Existing AirPort Extreme or
    AirPort Express Network
    You can extend the range of an existing AirPort Extreme or AirPort Express wirelessnetwork by setting it up in a WDS. Wireless computers can connect to the network andshare the Internet connection, share files, and play network games. If you connect yourAirPort Express to your home stereo, computers on your wireless network can useAirTunes to play music on the stereo from iTunes. If you connect a USB printer to yourAirPort Express, all of the computers on the network can print to it.
    n Open the AirPort Setup Assistant on a Macintosh, or the AirPort Express Assistant on acomputer using Windows XP. Follow the onscreen instructions to extend the range ofyour AirPort Extreme or AirPort Express network.
    Note: Extending the range of a network using WDS may reduce overall networkperformance.

  • What is the advantage in Maintaing the master data if it can be directly ..

    Hi,
    When looking for possible values in an object, I see that it has 20 possible values that can be selected while in BEx. But when I go to the object itself under the InfoObject tree(in rsa1), with a hope to maintain master data, I do not find "Maintain Master" in the context menu of the object.
    1. where could the possible values that I saw in the report be coming from?
    2. I understand it is possible that the object was filled as data was being loaded in some data target and that may explain why no master data was being maintained but it had values.
    If that is the case, then, what is the advantage in Maintaing the master data (i.e. directly maintaing the master if it can be directly maintain through loaded files)?
    Thanks

    Thanks,
    On 1:
    so you are saying that the SID table gets populated during the transactional data load.
    In the change mode of the object, I see
    SID Table    /BI0/<u><b>S</b></u>xxxxxxx.
    a)
    Is this what you were referring to as the <u><b>S</b></u> table? How do I see the values in this SID talbe.
    and can it be modified?
    b)
    Also, how come that the other object without "Maintain Master data" in context menu and the one with this option both have the
    SID Table    /BI0/S........
    c)
    Other than the difference I see in their context menu what should be the difference?
    2.
    You mentioned that the "System just creates a SID <u>for the incoming value</u>. "
    a)
    Where in the system do I see these system generated SIDs?
    You noted that "But loading master data assures the masterdata <u>attributes</u> and <u>texts</u>, which are not generated while loading transactional data except for the SID"
    b) If this is so important, is there a way to prevent data loads without master data
    i.e. to force the maintenance of master data?
    Also, isn't it possible to load the attributes of an infoobject while load data? You seem o be suggesting otherwise.
    Thanks

  • FM7.1 to FM10 : What are the advantages?

    Hello,
    I have to use FrameMaker on Solaris, in a networked environment.
    Currently I am using 7.1 and want to move to 10.
    7.1 already has serious issues with importing pdf files.(http://forums.adobe.com/thread/891661?tstart=30)
    You see I need to give some good reasons to my boss so as to convince him!
    So 1st I want to know if there is a stable 10 ver. that works on Solaris.
    2nd-ly it would be excellent if someone can say very briefly, what are the advantages/problems in ver 10 over 7.1 for Solaris environment.
    Particularly looking out answers from the user "Error7103 "!
    Thanks in advance,
    DP

    FrameMaker 8 supports Unicode too and is faster and more stable than FrameMaker 10.
    Another question that has to be considered is:
    SoLarry?
    Do you want to make any investments in the former Sun platforms now owned by Leisure Suit Larry Ellison?
    If you are running Frame native on Solaris, you are running on SPARC workstations. Sun discontinued those over a year prior to the Oracle Assimilation. Since then, even the Solaris x86 workstations are gone. Oracle is out of the desktop biz, except for thin clients. If a seriously nasty security exploit appears for SparcStations, ORCL may not patch it promptly. As your hardware ages and fails, you may find yourself getting parts from eBay.
    I suspect that the bottom line for this inquiry is that it's not likely to be a an FM7 to FM8 upgrade on Solaris, but a total platform migration to Windows. The label on that can reads: Worms: species, quantity and condition unknown.

  • What are the advantages of using LabVIEW projects in TestStand, as apposed to just a path to a vi

    What are the advantages of using LabVIEW projects in TestStand, as apposed to just a path to a vi ?
    I am modifying an existing workspace for a new product, and it seems like more work to add the vi's into a LabVIEW project
    does it gain anything in the long run

    Hi Rusty,
    I wanted to quickly clarify on the integration between TestStand and LabVIEW Projects.
    As Jeff mentioned, some of the big benefits of using LabVIEW Projects is to organize code and to namespace them.
    For instance if you had a project called "Power Supply" that housed all your power supply code and had a VI in that called "Initialize", and another project called "Temperature Chamber" that also had a VI called "Initialize", both these VIs are namespaced by the project, so there is no longer confusion about which "Initialize" VI is being used.
    Now from a TestStand point of view, in prior version of TestStand, we lost some of this benefit because TestStand did not know about TestStand projects and called VIs simply as un-namespaced VIs. However, in TestStand 2010 (released last year, free eval available at ni.com/teststand), we added the ability to (optionally) call VIs within the context of their projects. This means that:
    VIs are now namespaced by their project, even when called from TestStand
    VIs can use project specific constructs like NI-DAQmx tasks and conditional compilation settings
    Note: When creating deployments, the VIs maintain their projects and namespacing, so this benefit holds true for deployments as well.
    Additionally, someone had mentioned looking into using lvlibs to namespace your VIs for deployment. Two comments:
    With TestStand 2010, this is no longer neccessary since the project itself namespaces the VIs
    You might also want to look into LabVIEW Packed Project Libraries, which combined several VIs into a single file. Think of it as a DLL specific to LabVIEW that is as easy to call as normal LabVIEW VIs. TestStand 2010 can call VIs that are exposed by PPLs. In addition, the deployment utility can automatically pack your VIs into PPLs for deployment.
    Hope this is helpful!
    Jervin Justin
    NI TestStand Product Manager

  • What are the advantages to adding a server to my home/home office system?

    What are the advantages to adding a server to my home/home office system?

    It's hard to give you specific answers unless we know your current setup. Any server, or specifically OS X server, may not be appropriate for your workflow.
    A server is a centralized computer which can act as a file repository for other computers and devices to access. It can also centrally manage authentication for other resources (ie, have a single sign in for multiple services), can act as a web server, a calendar server, and other features. Of course, many of those things are available from other providers, but having your own server means that you have more control (and responsibility) over them.
    This is a good place to start:
    https://www.apple.com/osx/server/
    Matt

  • What are the advantages of Using SAP ?

    what are the advantages of SAP when compared to other technologies?
    what are the basic advantages of SAP

    SAP's R/3, introduced in 1992, is the most used ERP system in the world.
    The R/3 software package is designed to allow businesses to effectively and efficiently operate a variety of business processes within a single integrated information system.
    The software is customizable using SAP's proprietary programming language, ABAP/4. R/3 is scalable and highly suited for many types and sizes of organizations and runs on six different platforms.
    SAPu2019s R/3 has been designed to be the best ERP system in the four areas of human resources, financial, supply chain management, and marketing. R/3 is also an international product, and meets the local fiscal, language, and tax requirements of most countries.
    SAPu2019s R/3 is very versatile, as it will operate on six different platforms, including the recently added Microsoft NT.
    The R/3 package includes several very attractive features like it has a three-tier client/server system. Providing three tiers offers scalability and easier adaptation to the specific needs of large companies and fast-growing companies.
    SAPu2019s R/3 is available in 14 different languages (German, English, Spanish, etc.) and also incorporates multiple currency features that provide essential information processing capabilities for multinational corporations.
    R/3u2019s modules are organized by the functional areas of financial, human resources, supply chain management, and marketing. While information is entered separately for each specific module, the modules are fully-integrated and provide real-time applications. This means that data entered into one module is immediately and automatically updated and reflected in all oft the functional areas.
    R/3 is composed of a single, virtual file structure with no subsystems.
    In addition, SAP has released u201CMySAP.comu201D which is software that provides for data interaction and processing connections with the Web.
    Financial and managerial accounting tools in SAP R/3 are contained in the financial accounting (FI) and the controlling (CO) modules. The General Ledger function in the FI module provides a comprehensive record of all information needed for external financial reporting. The accounting data is complete and accurate because the SAP system fully integrates all business transactions that were entered from all the operational areas of a company. In addition to the FI and CO modules, the SAP system includes the Investment Management (IM), Sales and Distribution (SD), Materials Management (MM), and Human Resources (HR) modules.
    Management accounting tools in SAP R/3 are cost center accounting, internal orders, product costing, and activity based costing, profitability analysis and profit center accounting.
    SAP R/3u2019s accounting features are modeled on German approaches to accounting, and thus they are well-organized and very efficient in processing accounting information and providing accounting statements and financial reports.
    As stated previously, R/3 offers multiple currency features and a three-tier system that is capable of meeting very high demands from the accounting system for either transaction processing or financial reporting.
    SAP was the first to implement integrated treasury capabilities. This attractive feature allows a corporate treasury department to function as an in-house bank by automating the control of cash flow, investment trades, and portfolio management.
    R/3 provides check writing capability in its Accounts Receivable component which very few other programs offer.
    Additionally, there is equal access to all data in the system. This means that personnel can access financial data directly from a computer screen rather than physically meet with the treasurer, controller, or some other similar person. In other words, R/3 offers real-time, immediately updated reporting.
    R/3 also provides for a "single data entry point" where the data entered from any location is instantly sent to all other appropriate modules in the ERP system.
    The accounts payable component of SAP R/3 contains four types of transaction blocks namely:
    ● The audit block● The receiving block● The vendor block● A manual block
    These blocks make it much less likely that improper payments will occur.
    SAP R/3 is organized with the concept that a business operates as a series of processes, which means that the company implementing R/3 may have to change and reorganize itself to properly fit with R/3 and use it effectively.

  • What is the advantages of using Interface?

    Hi,
    I still don't get what's the advantages of using interface. Reusability? is it the main advantage? thanks in advance.

    What is GOF?
    Interface is a good program practice when working with RMI (Remote Method Invocation) application. Imagine your anti-virus. When you connect to internet your software invoke a method into your software vendor site and download the new definitions. Now every anti-virus Subscription is different. The method you invoke, will depends on your Subscription. If you hard code the method abstractly, you will not achieve this functionality.
    Another concept is that because Java does not practice multile inheritance interface is a goog way to interface into another class.
    Example
    I want to extends to multiple class which java do not support. I will write an interface i.e I want to extends to FileOutputStream, OutputStream, Object, Integer, String, ActionEvent, Window etc.
    I will write an interface like this
    interface MyClass {
    pulic void setFileOutputStream ( FileOutputStream file );
    public void setOutputStream ( OutputStream );
    public Object getObject ( );
    public Seriable getInterget ( )
    ------------------- //You get the gist
    With this interface you can implement they behaviours
    You could say, why don't we just import them. When yo import them you have already hard coded there behaviour. But this way you can apply diferent behaviour throughout you application development. And any class that implement them must provide ways of using it.

  • 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.

Maybe you are looking for

  • IPhone sync - I just want my music on the go

    My iPhone takes 3+ hours to sync ever since I upgraded my firmware to 2.0.x. I used to enjoy buying songs from iTunes then sync it before I head out. I no longer can do this because it takes hours to backup, copy, etc. before it gets to the syncing p

  • SLED In Batch managment for materials

    Dear Experts, The requirement for the business is as follows Can sled be kept optional for few materials and mandatory for few materials during good receipt. Any configuration apart from Material master(Plant data storage) to meet this requirement.Ki

  • How can i edit whats in my iCloud on my computer

    I cant figure out how to get to my icloud to delete backups and music

  • Clearing variable cache

    is there a way to clear all stored variables in ES? I could set them to null at end of script, but this would be really annoying. Sometimes I just need to write some quick ditry code and don't want to worry about clearing them. any ideas?

  • Skinned Panel Content Area Problem

    I have instances of the Panel component that was skinned using the Flex Skin Component Kit for Flash. The problem is that the content areas of these panels occupy the entire panel area. An unskinned panel has a content area that is within the panel's