Advantage(s) of using Metadata(Annotations)

What are the advantages of using Metadata(Annotations) and why????
Help me to understand PLZ.

g o o g l e

Similar Messages

  • Using Metadata to generate view as conventional folder structure

    Can Metadata be used to generate a view as the conventional folder drill-down?
    I have a list with metadata for different projects, releases, content type etc and I would like to view them in folder structure with different hierarchies, i.e. using projects--> releases--> content-type as well as release --> projects --> content-type.
    I have asked the same question at : http://stackoverflow.com/questions/22693036/using-metadata-to-view-as-conventional-folder-structure

    Hi,
    If your metadata is based on a hierarchical term set you could use ‘Metadata Navigation’.
    You may have to change your information architecture a bit to accommodate this approach. More info on ‘Metadata Navigation’ here:
    http://office.microsoft.com/en-gb/sharepoint-server-help/configure-metadata-navigation-for-a-list-or-library-HA101820113.aspx
    Hope this helps
    Cheers
    Matt

  • Message-Driven Bean using @Resource annotation

    I am trying to run a Message-Driven Bean very simple example in https://glassfish.dev.java.net/javaee5/ejb/examples/MDB.html
    I configured MDBQueueConnectionFactory and MDBQueue properly on glassfish admin console.
    I cannot run the example using @Resource annotation. I don't understand why.
    @Resource(mappedName="MDBQueueConnectionFactory")
    private static QueueConnectionFactory queueCF;
    @Resource(mappedName="MDBQueue")
    private static Queue mdbQueue;But I can run this example modifying the source code using InitialContext instance and looking up for JMS Resources.
    InitialContext ctx = new InitialContext();
    QueueConnectionFactory queueCF=(QueueConnectionFactory)ctx.lookup("MDBQueueConnectionFactory");
    QueueConnection queueCon = queueCF.createQueueConnection();
    Queue mdbQueue=(Queue)ctx.lookup("MDB");
    queueSender.send(mdbQueue, msg);
    ...I want to figure out why @Resource annotation do not work well. Any help?
    Thanks in advanced any help.

    Thanks for your reply.
    The error that I get is a simple NullPointerException. Nothing else.
    Like you said, I develop a servlet and I can use @Resource annotation without static reference, and it works.
    public class TestMDB extends HttpServlet {
         private static final long serialVersionUID = 1L;
         @Resource(mappedName="MDBQueueConnectionFactory")
         private QueueConnectionFactory queueCF;
         @Resource(mappedName="MDB")
         private Queue mdbQueue;
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              PrintWriter out = response.getWriter();
              out.println("TEST MDB "+queueCF);
              QueueConnection queueCon;
              try {
                   queueCon = queueCF.createQueueConnection();
                   QueueSession queueSession = queueCon.createQueueSession
                   (false, Session.AUTO_ACKNOWLEDGE);
                   QueueSender queueSender = queueSession.createSender(null);
                   TextMessage msg = queueSession.createTextMessage("hello");
                   queueSender.send(mdbQueue, msg);
                   out.println("Sent message to MDB");
                   queueCon.close();
              } catch (JMSException e) {
                   e.printStackTrace();
    }But my question were about using @Resource annotation on a standalone client. I always get NullPointerException.
    public class MDBClient {
        @Resource(mappedName="MDBQueueConnectionFactory")
        private static QueueConnectionFactory queueCF;
        @Resource(mappedName="MDB")
        private static Queue mdbQueue;
        public static void main(String args[]) {
         try {
                QueueConnection queueCon = queueCF.createQueueConnection();
                QueueSession queueSession = queueCon.createQueueSession
                    (false, Session.AUTO_ACKNOWLEDGE);
                QueueSender queueSender = queueSession.createSender(null);
                TextMessage msg = queueSession.createTextMessage("hello");
                queueSender.send(mdbQueue, msg);
                System.out.println("Sent message to MDB");
                queueCon.close();
            } catch(Exception e) {
                e.printStackTrace();
    }

  • What are some of the advantages/disadvantage of using FC or FCoE with a storage array (EMC)? What is Cisco's recommendation and why?

                       What are some of the advantages/disadvantages of using FC or FCoE for a storage array? What does Cisco recommend?

    This is what I'm considering:
    Power:
    1050W Seasonic 80PLUS Gold Power Supply
    Motherboard:
    ASUS, Rampage IV Extreme, 2011, SATA6, True Quad SLI/XFIRE, Extreme OC Capable
    CPU:
    Intel Core i7-4960X 3.60GHz, 2133MHz DDR3, 15MB Cache, Hex Core Processor
    System Memory:
    16GB (4 x 4GB) , PC3-19200, 2400MHz (G.Skill - x79)
    Video Adapter 1:
    NVIDIA GeForce GTX 780ti 3GB GDDR5
    Video Adapter 2:
    None
    Optical 1
    16X Blu-ray Burner - 16xBD-R, 2xBD-RW/16xDVD-R, 8xDVD-RW/48xCD-R, 24xCD-RW
    Bay Accessories 1
    NZXT Aperture M Multi-media Hub
    RAID [Requires Identical Hard Drive Selections]
    RAID 0 | 2 Disk Min. Striped set, improved performance, additional storage drive highly recommended
    Hard Drive 1
    Crucial M550 1TB 2.5" SATA III 6GB/sec Solid State Drive
    Hard Drive 2
    Crucial M550 1TB 2.5" SATA III 6GB/sec Solid State Drive
    Hard Drive 3
    Crucial M550 1TB 2.5" SATA III 6GB/sec Solid State Drive
    Sound Card
    Creative Labs Sound Blaster Z PCI Express

  • Using metadata as variables for datasets

    Can i use meta data as a variable in datasets? (i am an event photographer and have a apreadsheet with (racenumber,time,name) . I want to tag my photos using metadata with the race numbers and then  have CS5 add text onto my photos  by matching the racenumber from the meta data to the spreadsheet  is this possible?

    I think you're in the wrong forum.  This one's for Premiere Pro, the video editing application.  You may want to try Photoshop, Bridge or Lightroom, all of which are more suitable for metadata tagging of large numbers of photos.

  • Exception while retrieving deleted document using metadata based query

    Hi,
    I am using dbxml 2.4.11 on Mac OS 10.5. My xml documents are stored in the dbxml with some metadata. Index on metadata is built. After delete a document I get an exception (error code is DATABASE_ERROR) while trying to use metadata based query:
    com.sleepycat.dbxml.XmlException: Error: DB_NOTFOUND: No matching key/data pair found, errcode = DATABASE_ERROR
    at com.sleepycat.dbxml.dbxml_javaJNI.XmlResults_hasNext(Native Method)
    at com.sleepycat.dbxml.XmlResults.hasNext(XmlResults.java:136)
    at gov.nasa.gsfc.md.mms.dbserver.server.XmlDbServerImpl.selectDocuments(XmlDbServerImpl.java:111)
    at gov.nasa.gsfc.md.xdba.server.ApplicationServiceImpl.findDocument(ApplicationServiceImpl.java:99)
    the code used to query:
    query = ... /DIF[dbxml:metadata('md:Id')='1234']
    // Perform the query.
    XmlResults results = getXmlManager().query(query, context);
    while (results.hasNext()) {
    XmlValue xmlValue = results.next();
    DocumentDTO documentDTO = new DocumentDTO();
    XmlDocument xmlDocument = xmlValue.asDocument();
    XmlMetaDataIterator metadataIt = xmlDocument.getMetaDataIterator();
    XmlMetaData md = metadataIt.next();
    while (md != null) {
    String name = md.get_name();
    String value = md.get_value().asString();
    NameValuePair nameValuePair = new NameValuePair(name,value);
    documentDTO.addToMetadataList(nameValuePair);
    md = metadataIt.next();
    retVal.add(documentDTO);
    counter = counter + 1;
    results.delete();
    context.delete();
    As name and value of the metadata I use kind of Id. If I use the query with a never before existing Id, I get the expecting error code DOCUMENT_NOT_FOUND, which is ok.
    Anybody has an idea why?
    Thanks a lot,
    Hoan.

    Hi George,
    I use now version 2.4.16, built a new database, but I can't found any records using the code mentioned above. First I thought there would be problem on Mac, tried to install the whole database and app on linux, but the problem still persists. The query I am using is:
    collection('////usr/server/gcmdx/xmldb/data/live.bdbxml')/DIF[dbxml:metadata('md:docType')='DIF' and dbxml:metadata('md:internalId')='456']
    (Switching back to 2.4.11, I find the records inserted)
    I can send a record if you want.
    Thank you for your help,
    Hoan.

  • Editing Pdfs using the Annotations and Drawing Markups

    I regularly use the Annotations and Drawing markups on Pdfs on Mac to edit, but since updating to Adobe Reader 11 everything has gone haywire. The Pdf freezes constantly. Although I can still edit on screen, none of the Markup shows in the toolbar so I can't use it to review or navigate around the Pdf. I can't delete the Pop-ups or markup by right clicking as usual. The Save button in the top toolbar doesn't work - I have to go to the Drop down menu, which takes longer. It's impossible to close any Pdfs by clicking the red top left button - I have to go to the Drop down menu to close. It's hopeless! Any suggestions?

    I have Adobe Reader XI version 11.0.9 and Mac OS X version 10.6.8. I wonder now if I have the right version ...

  • What are the advantages/disadvantages of using PS/CS5 in 64bit over 32bit please?

    What are the advantages/disadvantages of using PS/CS5 in 64bit over 32bit please?

    From a practical perspective, besides the 64 bit version being a bit faster at just about everything, limitations on document size are lifted in the 64 bit version.  Essentially, how much can do is limited only by how much RAM you have installed in your system.  You can do things like have larger documents, deeper history, etc. and have it all work quickly.
    On the other hand, many 3rd party plug-ins, especially older ones, only provide 32 bit versions, which will only run in 32 bit Photoshop.
    Both 32 and 64 bit versions are installed by default.  It's important to note that most of the preferences are separate between the two, so you can have two slightly different setups that might help with specialty operations you might need.  This gets pretty subtle, but for example I keep the 32 bit version configured with only 1 cache level, so all previews of high bit depth images are always composited in high bit depth.  This aids me with some aspects of astroimage processing.  It's slower, but more accurate.  By contrast I have more cache levels configured for my 64 bit version, so that's faster for general photography work.
    -Noel

  • What are the advantages of me using flash?

    I want to know the advantages of me using flash for my website. Please tell me all of them. In my opinion, flash loads slowly and is very ineffective but I want to know what you all think of it.

    Show your website or describe its use cases (target platform, moble/desktop, features, databaseusage), what kind of developer skills are you bringing to the table (beginner, intermediate, experienced) then we can give you advice if Flash fits the requirements profile.

  • Using metadata in conditions

    I'm trying to make a .targets file
    for my NuGet package, which will link to a proper .lib file
    depending on the C++ runtime library of a project. This
    answer recommends to use %(ClCompile.RuntimeLibrary) metadata
    for this. But I cannot use metadata in condition of the <ItemDefinitionGroup> node.
    When trying to run MSBuild with the following test script:
    <?xml version="1.0" encoding="us-ascii"?>
    <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <ItemGroup>
    <ClCompile Include="main.cpp">
    <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
    </ClCompile>
    </ItemGroup>
    <ItemDefinitionGroup Condition="'%(ClCompile.RuntimeLibrary)'=='MultiThreadedDebugDLL'">
    <Link>
    <AdditionalDependencies>yaml-cpp-MDd.lib;%(AdditionalDependencies)</AdditionalDependencies>
    </Link>
    </ItemDefinitionGroup>
    </Project>
    I have the following error: "error MSB4191: The reference to custom metadata "RuntimeLibrary" at position 1 is not allowed in this condition "'%(ClCompile.RuntimeLibrary)'=='MultiThreadedDebugDLL'"."
    How can I workaround this issue?

    Hi mikhail.matrosov,
    I have read your post in stackoverflow. From your update information:
    <PropertyGroup Condition="'$(RuntimeLibrary)'=='MultiThreadedDebugDLL'">
    <TestProp>defined</TestProp>
    </PropertyGroup>
    <Message Text="TestProp = $(TestProp)" Importance="high" />
    , I know that you want to define a property according to the C++ runtime library. Please refer to the code snippet below. It can satisfy your requirement.
    <?xml version="1.0" encoding="us-ascii"?>
    <Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <Target Name="Build">
    <ItemGroup>
    <ClCompile Include="main.cpp">
    <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
    </ClCompile>
    </ItemGroup>
    <PropertyGroup Condition="'@(ClCompile->'%(RuntimeLibrary)')'=='MultiThreadedDebugDLL'">
    <TestProp>defined</TestProp>
    </PropertyGroup>
    <Message Text="TestProp = $(TestProp)" Importance="high" />
    </Target>
    </Project>
    Below is the screenshot of the result.
    I write the elements ItemGroup and the PropertyGroup beneath the target element.
    If you write the two elements outside the target, we can't get the value of an item of ItemGroup in a PropertyGroup.
    I see that you can use "<RuntimeLibrary>@(ClCompile->'%(RuntimeLibrary)')</RuntimeLibrary>" to get the value of RuntimeLibrary in
    ClCompile item. In fact, the value of RuntimeLibrary is actually the string "@(ClCompile->'%(RuntimeLibrary)')".
    In the evaluation phase of a build, property evaluation precedes item evaluation. Nevertheless, properties can have values that appear to depend on item values. Consider the following script.
    <ItemGroup>
        <ClCompile Include="main.cpp">
          <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
        </ClCompile>
      </ItemGroup>
      <PropertyGroup>
        <RuntimeLibrary>@(ClCompile->'%(RuntimeLibrary)')</RuntimeLibrary>
      </PropertyGroup>
      <Target Name="Build">
        <Message Text="Property = $(RuntimeLibrary)" Importance="high" />
      </Target>
    Executing the Message task displays this message:
    This is because the value of RuntimeLibrary is actually the string "@(ClCompile->'%(RuntimeLibrary)')". Item and item transformations were not expanded when
    the property was first defined, so the RuntimeLibrary property was assigned the value of the unexpanded string. This is why we can't use the condition like "<PropertyGroup Condition="'@(ClCompile->'%(RuntimeLibrary)')'=='MultiThreadedDebugDLL'">"
    outside a target. So "<TestProp>defined</TestProp>" defined beneath that condition doesn't work. 
    During the execution phase of the build, when it processes the Message task, MSBuild expands the string "@(ClCompile->'%(RuntimeLibrary)')" to yield "MultiThreadedDebugDLL".
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Advantage of exporting using Quicktime?

    Just a quick question, what's the advantage of exporting via Quicktime vs. iMovie?

    It is all the same. iMovie uses QuickTime.
    iMovie provides pre-sets that are useful for most purposes.
    The chief advantage of Sharing using QuickTime is you have a lot of flexibility.
    I use it when
    1) I want to share in a codec other than h.264.
    2) I want to share a movie as audio only
    3) In older versions of iMovie, there was no 1080P pre-set, so I would export 1080P through this setting.

  • Using @webserviceref annotation

    Hi,
    I'm using webServiceRef annotation accessing a web service.
    It is working if you supply a wsdl located under web service client project.
    I mean you need to copy service wsdl and mapping under meta-inf of current client project and reference this wsdl as an attribute.
    Such as
    @WebServiceRef(name="DepartmentService",wsdlLocation="META-INF/DepartmentServiceInterfaceService.wsdl")
    I will deploy this client project to same server with the service itself. So isn't that better to point the published service wsdl as url, and not to copy wsdl under client project...
    isn't that the way it should be as jax-ws?
    Any Comments?

    we're using soasuite10.1.3.1.
    (if we have to supply the wsdl under project, what would be the best approach then?
    i mean suppose that you have many web services published, for each client project even that would be deployed and run on the same server instance, you have to copy each wsdl and mapping.
    Can't we produce an jar archieve contains all wsdls and mappings and we reference this jar from each client project. At least we would be copying the same jar to all clients.)

  • What is the advantages/disadvantages of using BPEL only without BAM?

    What is the advantages/disadvantages of using BPEL only without BAM, and the combination for Error and Exception management in SOA?
    Please let me know if anybody had this experience?

    Hi,
    Both variants have pro's and cons. If you plan to use VBA you have to consider the deployment settings on other p.c.'s where you have to allow macro's where as a regular form doesn't have the need for that.
    That said the userform gives you much more control because the form command is not saved. it is simply a temporary form which you have to setup every time. It's perfect for data entry. If you are looking for data validation the userform is the one to go
    for. You also have the possibility to work on placements of the data entry.
    So if you are looking for speed and simplicity then go for the form command. If it is handling control you are after I'd go for a userform.
    Just my 2 cts
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • Metadata annotations processing?

    When are metadata annotations processing? Just when the applications starts or during the runtime also?

    why do you need to know how this happens? Because I want to know how the matedata mapping process goes?
    I want to know when for some persistence class appropriate object ( or group of objects) that is responsible for making mapping is created (object that e.g moves attributes value from and to database etc.). Is this object created only once for persistence class or e.g each time when some persistence operation is done?
    could You explain me this?

  • PLEASE let's use metadata to our advantage!!

    Ok...I right-click on an image in Bridge and select "File Info". The **FIRST** item on the first menu presented is "Document Title". Yet when I go to 'batch rename' the only 'EXIF metadata' options I'm presented with are:
    Date Time Digitized, Image Unique ID, Exposure Time, Lens and Focal Length.
    Is this REALLY the only data Adobe folks thinks we might want to use from EXIF fields? Is this is seriously silly??
    Image Metadata offers a incredible opportunity to automate a huge number of operations. If "Document Title" is first on the list, isn't it obvious that it should be included in any selection of Metadata fields to rename files rather than "exposure time, etc.."?? ..... yikes !
    Is there a way to hack the rename options?
    Where do I sign up to become a beta tester? There's obviously a Photoshop usage (marketing) perspective that's seriously being overlooked!!
    Russell

    http://www.adobeforums.com/cgi-bin/webx?7@@.3bba30d2/2

Maybe you are looking for

  • Email Voicemail issue

    whenever i try to open a voicemail (wav) file that i get through my work email as an attachment, the application loads and the voicemail name starts scrolling on the screen but the file never plays. It shows the length of the voicemail but when you p

  • Regarding an update in my lumia 520

    I have updated my 520 a couple of days ago with lumia amber update...and now today it was showing me a new phone update. I tried to download the update but it got failed. After that i restarted my phone and it was showing no updates available. what w

  • Dynamic alert configuration to include filename in alert category

    Hi Experts,                        We have a requirement in one of our scenarios (File to Idoc) to generate Alerts for errors in IE and send mail to excepted recipient with the error description. The mail body in this case should contain the sender f

  • Crashes when I try to print.

    I have a Xerox Phaser 6180 MFP laser printer and every time I try to print I get the following error message and Photoshop just crashes. I'm using Windows 7 64-bit with Photoshop Elements 10.  Thanks for the help and time!

  • SSL ERROR

    I have created forms which submit properly from several computers.  However, a third computer using Adobe Reader gives the error "SSL ERROR:  The required certificate was not found"  when attempting to submit the same forms.  What is the problem and