Advantages of JAVA???

I've been using java for doing my project work.
It a good PL i mean, but sometimes other Programming Language is effective in some other perspective.
Since i am new to the world of programming,
I hope to get some advise here.
for web development,
applications,
business world, and many more!!!
What is the hotest and popular PL that require in this
business world???

A word of advice: Never ask things like "What programming language/operating system/brand of mobilephone/etc is best?". You'll be triggering a Holy War.
And besides... what does "best" mean? If someone says "That thing is the best" I immediatly ask "Best at what?". Something can't be just "best"... it has to be best at something. It's like a World Champion. You can't just be "World Champion"... you have to be World Champion in a particular event.
When you are given the job to choose what is programming language is best... you choose the one that is best... at performing the job you want it to do. Depending what the job is, different languages will claim the title for best. Therefore it becomes your job to find the advantages and disadvantages of different languages and compare which has the most advantages and least disadvantages for what you want it to do.
Advantages of Java:
- Low cost.
- Large community support.
- Compile Once, run everywhere.
- It has among the most comprehensive API's and libraries available.
- Very "uniform". As a Java programmer you learn to regonize patterns in the language.
Disadvantages of Java:
- A memory-hogger. It uses lots and lots of memory, especially for large application.
- Requires a Java virtual machine to be installed.
- Performance is improving rapidly but it is still not up to par. You don't want to use Java for heavy number-crunching.
/Michael

Similar Messages

  • Advantages of java over c++

    Hello to all.
    Can you please point me out some advantages on using java instead of C++?
    For example having the garbage collector (java) instead of cancelling by hand the objects created (c++) slows down a little the execution of the program but prevents of cancelling object still in use.
    What about the impossibility of multi-inheritance and overloading of the operators?
    The fact that there are no header files has an advantage?
    Is it true that thread priorities and scheduling are not portable?
    Is it true that there are not templates in Java?
    Packages offered by java do substitude for example the STL c++ templates?
    Are there any other evident advantages of java over C++
    I apreciate any hint and opinion
    Thanks in advance
    Mandy

    Hi,
    What about the impossibility of multi-inheritance and
    overloading of the operators?Doesn't matter that much. And bad programmer can write bad code in any language.
    The fact that there are no header files has an
    advantage?It might be a bit easier, but it doesn't matter that much.
    Is it true that thread priorities and scheduling are
    not portable?Yes
    Is it true that there are not templates in Java?Yes, and no. There are generics in JDK 1.5.
    Packages offered by java do substitude for example the
    STL c++ templates?I'd say that this is the big difference.
    In java It's very easy to develop a full blown application with networking, and ui in a short time. I don't have any links to provide (but I guess you could use google to find facts), but I think the development time in java is much shorted than in c++.
    Are there any other evident advantages of java over
    C++It's easier to run the java application on multiple platforms. The advantage to c++ is that it can be used to write drivers, applications with small footprints, and to access native functions/APIs to the platform.
    /Kaj

  • Advantage of Java Exceptions over C error handling.

    I understand the advantages of Java Exception handling(as against C) when it comes to the ability to define exclusive Exception types or reuse exceptions, documentation benefits of the throws clause, advantages due to OO etc. But some people say that using exceptions in Java it is possible to recover from an exceptional condition and that's an advantage over how errors are dealt in C.
    Is that really an advantage? (I mean is that true?)AFAIK in C errors can be handled using perror or errno.h. For every error code generated there seems to be a description. And by checking the return values from functions we could see if there had been an exceptional condition and if there really had been one take appropriate action and recover from the error. So how is it that Java can recover from exceptions while in C it is not possible to recover from errors?
    Thank you very much.

    I'm waiting in my cold cell when the bell begins to chime
    Reflecting on my past life and it doesn't have much time
    Cos at 5 o'clock they take me to the Gallows Pole
    The sands of time for me are running low
    When the priest comes to read me the last rites
    I take a look through the bars at the last sights
    Of a world that has gone very wrong for me
    Can it be there's some sort of error
    Hard to stop the surmounting terror
    Is it really the end not some crazy dream
    Somebody please tell me that I'm dreaming
    It's not so easy to stop from screaming
    But words escape me when I try to speak
    Tears they flow but why am I crying
    After all I am not afraid of dying
    Don't believe that there is never an end
    As the guards march me out to the courtyard
    Someone calls from a cell "God be with you"
    If there's a God then why has he let me die?
    As I walk all my life drifts before me
    And though the end is near I'm not sorry
    Catch my soul cos it's willing to fly away
    Mark my words please believe my soul lives on
    Please don't worry now that I have gone
    I've gone beyond to see the truth
    When you know that your time is close at hand
    maybe then you'll begin to understand
    Life down there is just a strange illusion.
    Yeah, yeah, yeah, Hallowed be thy name
    Yeah, yeah, yeah, Hallowed be thy name

  • I can not fine the Entity Bean's advantage than Java Bean?

    I can not fine the Entity Bean's advantage than Java Bean,
    can you tell me, thanks a lot?

    I can not fine the Entity Bean's advantage than Java
    Bean,
    can you tell me, thanks a lot?I think you should read more of the EJB Spec. You'll find your answer there. But mainly with entities you can have the container manage all the lifecyle of the Bean (transactions, caching, creation, etc...). But entities are not only to map columns in the database, they are supposed to have business code. See more by reading the spec.
    MSB

  • Difference and advantages of java and c++

    whats the best advantage of java over c++
    also the basic difference between java and c++
    what the difference between multithreading, multitasking and multiprocessing
    what if there r 2 main methods in 1 java program with different signature
    difference between method overloading and method overriding

    whats the best advantage of java over c++Java is simpler.
    also the basic difference between java and c++Java is easyly portable. It has a GUI (Swing), multi-tasking and garbage collection as standard.
    what the difference between multithreading,
    multitasking and multiprocessingMultithreading is mostly used at the language level to mean many threads of execution. Multitasking is mostly used at the OS level to mean many processes (program units) runing at the same time. That should cover multiprocessing too but here processing can also be used in a broader sense at the application level to mean any "process" you can think of.
    what if there r 2 main methods in 1 java program with
    different signatureYou'll have to specify which one you want executed I guess. Try it out!
    difference between method overloading and method
    overridingOverloading is a convinience facility. It allows you to let methods in a class have the same name as long as their signatures differ.
    Overriding is when a method defined in a superclass is replaced with a new one with the exact same signature in a subclass.

  • MySQL advantages with Java server

    Hi, all!
    It's not other question about "MySQL vs PostgreSQL". I read a lot of things on the internet about this topic.
    What I would like to know is that, cosidering that the Sun bought MySQL, does MySQL have any advantage over PostgreSQL when using a Java server?
    If not, does anyone know about any proposal of doing this?
    Thank you!
    CaioToOn!

    Looking at how products like OpenOffice or Solaris have been changed by Java, I would say don't assume that Sun have some overall plan integrate their products any more than might be perceived as "natural"

  • Advantages of JAVA stack on ECC 6.0

    Hi There
    Can any one please make me clear about the adavantages of  JAVA stack on ECC6.0, how does it helps our business, as tehre are no JAVA relaetd components in our environment , now we are on ECC6.0 ABAP stack, if this is the case how to  go ahead with JAVA stack, I mean to ask the of make my ECC6.0 as a dual stack , must i choose JAVA system as an Add-on to existing ECC ABAP stack or  must i go for another stand akone JAVA box, which option is the correct one.
    Now we are on BW3.0
    got a plan to upgrade to BI 7.0 , is JAVA system required for that or BI 7.0 only runs on ABAP stack?please let me know how to implemnt the JAVA stack for the existing system.Thanks in advanse.

    HI
    Kakani
    Can you go thorough dis link
    http://wiki.sdn.sap.com/wiki/display/WDJava/WelcometoWebDynproJava!
    Tanks
    Rafi Shaik

  • Java card confusing Issues!!!!!!! java card architecture, advantage!!!!!

    QUESTION -1
    As I know about architecture of any application is -
                    //normal java software                          java card                                  java card
                      //  1                                               2                                      3
    1-            application program                        host application                           host application
    2-                     JVM                                   Applets                                       Applets
    3-              operating system                JCRE(which contain all classes, JVM ....)                 JCRE(act as a O.S too)
    4                    hardware                              Operating system                                 H/W
    5                                                                        hardwareWhat do u think- case 2 is right? or 3 is!!!!!!!!!!!
    I think - case 3 is right!!!!
    As i study from several sources , JCRE is complete package - it behaves as a operation system and use the functionality of component it contain. I also think if i will purchase a java card from any vendor , it would have JCRE inside it (means everthing inside it,), i only need to develop the applet according to my requirement and install it by on card installer program
    QUESTION 2- what is the advantage of java card.?
    // I think.
    as i read out , i got the line that it is platform independent and support multiple application. applicaton point of
    view , I am agree but how it is platfrom independent. if we use java card for smart card development, then
    i will purchase Java card from differnt vendor , all will provide me card with supported jcre inside it, so why
    this is advantage here?
    // in case of window based application , it really make sense  because if i will make any window application with java
    // i can run it in windows , linux , unix and most of os flavours, here i can see the beauty of java language.
    Clear me this and add some other java card advantages, which make java card goodquestion 3-
    Now I am capaple to make simple applets, so I want to check the entire java card process atleast once before
    going in deep of something, I am thinking to implement prepaid card concept , i made it applet for it ,it will
    contain a page with 2 text box ( 1- for recharge 2- for money deduction ) and two button , with button click i
    want to select the applet and want to pass the apdu.
    ( a) how i can make host window application ? (i think awt will work for me? , *
    i never make any java window application yet) *
    ( b) still i dont have any java card , i want to make it by using simulator, is it possible?
      (c) in this scenario what framework i need to study Ex. Import javacard.framework.* for making
    applet or from where i need to start.Regards:
    rohit pathak
    Edited by: rohit pathak on Feb 9, 2012 10:10 PM

    Hi,
    QUESTION -1
    As I know about architecture of any application is -
    //normal java software                          java card                                  java card
    //  1                                               2                                      3
    1-            application program                        host application                           host application
    2-                     JVM                                   Applets                                       Applets
    3-              operating system                JCRE(which contain all classes, JVM ....)                 JCRE(act as a O.S too)
    4                    hardware                              Operating system                                 H/W
    5                                                                        hardwareWhat do u think- case 2 is right? or 3 is!!!!!!!!!!! If you are using Java Card then JCRE+JVM = OS and if you put this on ein package 3 then 3 is correct according to me.
    As i study from several sources , JCRE is complete package - it behaves as a operation system and use the functionality of component it contain. I also think if i will purchase a java card from any vendor , it would have JCRE inside it (means everthing inside it,), i only need to develop the applet according to my requirement and install it by on card installer program Actually it depends. There can be following models in this regards:
    1. Buy a empty smart card, Install your own OS and then write your applets for it.
    2. As you said, Buy a card with preloaded OS and then write applets for it.
    QUESTION 2- what is the advantage of java card.?
    * Interoperable: Applets developed with Java Card technology will run on any Java Card technology-enabled smart card, independently of the card vendor and underlying hardware.
    * Secure: Java Card technology relies on the inherent security of the Java programming language to provide a secure execution environment. Designed through an open process, the platform's proven industry deployments and security evaluations ensure that card issuers benefit from the most capable and secure technology available today.
    * Multi-Application-Capable: Java Card technology enables multiple applications to co-exist securely on a single smart card.
    * Dynamic: New applications can be installed securely after a card has been issued, enabling card issuers to respond to their customer's changing needs dynamically.
    * Compatible with Existing Standards: The Java Card API is compatible with international standards for smart cards such as ISO7816, or EMV. Major industry-specific standards such as Global Platform and ETSI refer to it.
    * Developers creating Java Card applications enjoy all the advantages of working in the Java programming language:
    Object-oriented programming yields greater code modularity and reusability, leading to higher programmer productivity.
    Protection features characteristic of the Java programming language apply to Java Card applets, enforcing strong typing and protection attributes.
    Powerful off-the-shelf development tools are readily available.
    source: http://java.sun.com/javacard/overview.jsp
    And also, in case of SIM card if you are using java card then RAM is possible and native cards don't have this ability.
    question 3
    Now I am capaple to make simple applets, so I want to check the entire java card process atleast once before
    going in deep of something, I am thinking to implement prepaid card concept , i made it applet for it ,it will
    contain a page with 2 text box ( 1- for recharge 2- for money deduction ) and two button , with button click i
    want to select the applet and want to pass the apdu.
    ( a) how i can make host window application ? (i think awt will work for me? , *You can use swing for this to make interface and use smartcardIO http://docs.oracle.com/javase/6/docs/jre/api/security/smartcardio/spec/javax/smartcardio/package-summary.html for sending APDUs.
    i never make any java window application yet) * It is easy you can look here and start: http://www.roseindia.net/java/example/java/swing/
    ( b) still i dont have any java card , i want to make it by using simulator, is it possible?Actually, smartcardIO will only interact with actuall card and for simulator you will have to use console for sending APDUs.
    (c) in this scenario what framework i need to study Ex. Import javacard.framework.* for making
    applet or from where i need to start.For your current case it is enough and for host app you should study smartcardio as i mentioned above.
    Hope it helps.
    Regards
    Umer

  • Berkeley DB Java Edition and Java 1.4

    As a Berkeley DB Java Edition user we place a very high value on your input. We need your feedback regarding a product requirement for Java 1.5.
    As time goes on we find ourselves implementing more and more performance enhancements based on facilities found only Java 1.5, primarily in the java.util.concurrent package. When we make these enhancements, we currently also maintain support for Java 1.4 although not at the same level of performance. Maintaining and testing this dual mode operation is beginning to slow down our development process. We would like to move as quickly as possible to take advantage of Java 1.5 performance features, but we are constrained by maintaining support for Java 1.4.
    We are therefore planning to require Java 1.5 in the next major release of Berkeley DB Java Edition. Before finalizing this plan, we need your input on whether Java 1.4 support is important to you. Please let us know what your needs are by replying to this forum message.
    Thanks.
    The Java Edition team

    Morgan,
    Yes, we currently plan to only offer replication for Java 1.5. Our motivations are split between the speed consideration and the codeline issues. We've seen better performance with 1.5. Also taking full advantage of the type safety and concurrent support in 1.5 can end up affecting implementation choices significantly, and can make 1.4 code and 1.5 code diverge a lot.
    As for bug fixing on the 1.4 releases, we don't yet have an official plan. We care very much about supporting our open source users and have been able to provide backwards patches where critical in the past. However, the cost of backporting between 1.5 and 1.4 may be high for some bug fixes, and we'll probably have to decide case by case.
    Regards,
    Linda

  • Installing Java add-in on ABAP Stack

    Hello Gurus,
    We have recently upgrade from SAP R/3 4.7 ext. 20 SR2 to ECC 6.0 SR3 on Solaris platform using Oracle 10g. We are on Non-unicode system and on Single Stack i.e. AS ABAP only.
    Now as new requirement comes up in organization, we need to install additional Java Stack on upgraded system. Please help me in provide some details to proceed further.
    1. Advantages of JAVA Stack (is there any performance issues after installing Java Stack?).
    2. How to install Java Stack with ABAP stack in Cluster Environment.
    Early response is highly appreciated.
    Regards,
    Kshitiz Goyal

    > We have recently upgrade from SAP R/3 4.7 ext. 20 SR2 to ECC 6.0 SR3 on Solaris platform using Oracle 10g. We are on Non-unicode system and on Single Stack i.e. AS ABAP only.
    >
    > Now as new requirement comes up in organization, we need to install additional Java Stack on upgraded system. Please help me in provide some details to proceed further.
    There are two issues here:
    a) double stack instances are deprecated, they shouldn't be installed any more. Install the Java instance as a separate SID, at best on a separate machine (or on a separate Solaris zone on the same machine). See Note 855534 - Dual Stack and SAP Business Suite 7
    b) Java stacks with non-Unicode backends are not supported (see Note 975768 - Deprecation of Java features with non-Unicode Backend)
    You may be able to technically install the Java AddIn with "some special DVD" but because your backend is non-Unicode this configuration would be unsupported.
    I highly suggest you first convert your system to Unicode before trying to connect them to a Java system.
    Markus

  • Java Mapping, XSLT Mapping, ABAP Mapping

    Hi Experts,
                     Could any one explain what is the main features of the following Mapping. How to pick the mapping?
    Java Mapping - When to use and what is the advantage.
    ABAP Mapping - When to use and what is the advantage.
    XSLT Mapping - When to use and what is the advantage.
    Graphical Mapping - When to use and what is the advantage.
    cheers,
    Sunee

    There are 4 types of mapping in XI
    1. Graphical Mapping
    2. XSLT Mapping
    3. JAVA Mapping
    4. ABAP Mapping
    When to use Message mapping
    1 When the logic for your mapping is simple and straight forward, you can use
    Advantages of message mapping
    1)Easy to use.
    2) has GUI drag and drop.
    3) used for simple mapping cases
    4) it does not involve any complex logic
    Disadvantages of message mapping
    1)has limitation in terms of complex hierarchy
    When to use Java mapping
    1) Java mapping are used when graphical mapping cannot help you.
    Advantages of Java Mapping
    1)you can use Java APIs and Classes in it.
    2) file look up or a DB lookup is possible
    3) DOM is easier to use with lots of classes to help you create nodes and elements.
    Disadvantages of Java mapping
    1)SAX parser is not easy to develop
    2)DOM parser is intensive
    3) Java knowledge is required
    4) bit complexer
    XSLT Mapping - When to use
    1)When the required output is other than XML like Text, Html or XHTML (html displayed as XML )
    2)When default namespace coming from graphical mapping is not required or is to be changed as per requirements.
    3)When data is to be filtered based on certain fields (considering File as source)
    4)When data is to be sorted based on certain field (considering File as source)
    5)When data is to be grouped based on certain field (considering File as source)
    Advantages of using XSLT mapping
    1)XSLT program itself defines its own target structure.
    2)XSLT programs can be imported into SAP XI. Message mapping step can be avoided. One can directly go for interface mapping once message interfaces are created and mapping is imported.
    3)XSLT provides use of number of standard XPath functions that can replaces graphical mapping involving user defined java functions easily.
    4)File content conversion at receiver side can be avoided in case of text or html output.
    5)Multiple occurrences of node within tree (source XML) can be handled easily.
    6)XSLT can be used in combination with graphical mapping.
    7)Multi-mapping is also possible using xslt.
    8)XSLT can be used with ABAP and JAVA Extensions
    Disadvantages of using XSLT mapping
    1)Resultant XML payload can not be viewed in SXMB_MONI if not in XML format (for service packs < SP14).
    2)Interface mapping testing does not show proper error description. So errors in XSLT programs are difficult to trace in XI but can be easily identified outside XI using browser.
    3)XSLT mapping requires more memory than mapping classes generated in Java.
    4)XSLT program become lengthier as source structure fields grows in numbers.
    5)XSLT program sometimes become complex to meet desired functionality.
    6)Some XSL functions are dependent on version of browser.
    Advantages of Abap Mapping
    1) A person comfortable with OOABAP can go for ABAP mapping instead.
    Disadvantages of Abap Mapping
    1) Abap knowledge is required
    2) bit compexer
    For further info on each of the mapping, refer to these links,
    Graphical Mapping,
    http://help.sap.com/saphelp_nw04/helpdata/en/6d/aadd3e6ecb1f39e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    XSLT Mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/content.htm
    http://www.w3.org/TR/xslt20/
    Java Mapping
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
    DOM parser API
    http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html
    Check this blog on Mapping:
    /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
    Also, check this thread for more info,
    Different types of Mapping in XI

  • Should we avoid Graphical mapping and stick with Java mapping?

    After developing mappings in XI for a month, I just don't see any good reasons to use Graphical mappings over Java mappings. Maybe some experienced users here can give me some valid reasons why we should choose Graphical mappings. Here is what I think:
    Disadvantages of Graphical mappings:
    1. No way to perform automated unit testings. This is probably the biggest reason I hate it. You can do some tests manually when you work in Integration Builder. But there is no way you can write some unit testing utilities to automate the task.
    2. Complexity. Even for some simple requirements, your Graphical mappings can become complicated and hard to understand. A lot of times, I find myself staring at several dozens of graphical nodes and try to understand what it does.
    3. Impossible to reuse. This is totally against the DRY (Don't repeat yourself) principle. For example, to generate messages for JDBC adapter, it is common to have two identical fields for primary keys: one in the access node and another in the key node. If you change the mapping logic in one, you have to remember to change the other.
    Advantage with Java mappings:
    1. Fully automated unit testing. You can create JUnit tests along with your Java mapping classes and use Maven or other build tools to perform automated unit testing.
    2. Your choice of XML parsing and binding. With Java mapping, you can choose any open source framework for XML parsing and binding. For example, with XMLBeans, I can convert XML input message to a Java object, transform to another Java object and write to output message. And each Java object is generated from its corresponding XML schema.
    3. Highly reusable. We can use fundamental object-oriented designs to create highly reusable mapping components.
    4. Better version control. Since the mappings are just Java classes, we can use CVS or SVN to track code changes.
    5. Better build tools. We can fully utilize build tools like Ant and Maven to automate the build, unit tests, or even generate documents and mapping web sites.
    So do you guys agree? Maybe I am still new to XI or I am missing some important things. But at this point, I just don't see why I should use Graphical mappings. Is there anyone developing XI interfaces completely with Java mappings?
    Thanks in advance for any comments!
    Kenny Cheang

    Hi Suraj,
    > Since its graphical the blocks will take space, but
    > there is always an adavntage of processing time.
    > Ebven though it may appear bigger, it will take less
    > time as compared with Java code (for the same
    > mapping).
    Could you explain more why the graphical mapping has better performance? I thought the graphical mapping is compiled into a Java class in the runtime anyway.
    > Yes thats there, but same goes with Java mapping too
    > right (if you haven't mentioned it as constants)
    I mainly think about inheritance. If I have to build 10 interfaces and they all have some common behavior, I can create a base interface class to encapsulate the common logic. But with graphical mapping, you have to duplicate them in each interface.
    > Disadvantages of Java mapping:
    > 1. Performance
    Same as above. I just don't see why Java has worse performance. I actually think Java should have better performance. You can optimize the code anyway you want. In some cases, you have to use queue functions in graphical mapping but it's not necessary in Java.
    > 2. All might not be well versed with Java Code(though
    > everyone may know basic java) .
    I am not asking everyone to abandon graphical mapping. I am just wondering which one is better when you have skills for both.
    > 3. Lot of standard functions are available in GM
    > which you can choose, but you have to remember the
    > exact code for those in Java mapping.
    You can create functions in Java too. All you have to do is to remember the function name.
    Kenny

  • XSLT or JAVA Mapping

    How to choose between XSLT & JAVA Mapping.

    HI
    Usually Java mapping is preferred when the target structure is relatively complex and the transformation cannot be accomplished by simple graphical mapping.
    When to use Java mapping
    1) Java mapping are used when graphical mapping cannot help you.
    Advantages of Java Mapping.
    1)you can use Java APIs and Classes in it.
    2) file look up or a DB lookup is possible
    3) DOM is easier to use with lots of classes to help you create nodes and elements.
    Java mapping can be used when you have complex mapping structures.
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    Java Mapping (Part I)
    https://Difference in using java,xslt,message mapping
    Java Mapping (Part I)
    Java Mapping (Part II)
    Check these for JAVA Mapping
    Java Mapping (Part I)
    Java Mapping (Part II)
    Java Mapping (Part III)
    Testing and debugging
    Testing and Debugging Java Mapping in Developer Studio
    Implermenting JAVA Mapping in PI
    Implementing a Java Mapping in SAP PI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10dd67dd-a42b-2a10-2785-91c40ee56c0b
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/400ee77e-f9d6-2a10-2b8c-99281a4dcf6b
    XSLT mappings can be imported into the Integration Repository; java methods can be called from within the XSLT style sheet. Advantages of this mapping are: open standard, portable, extensible via Java user-defined functions
    XSLT Mapping
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/006aa890-0201-0010-1eb1-afc5cbae3f15
    xpath functions in xslt mapping
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=xslt+mapping&adv=false&sortby=cm_rnd_rankvalue#
    XSLT MAPPING:
    Generic XSLT Mapping for SAP XI,Part I
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    Generic XSLT Mapping for SAP XI,Part II
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    XSLT: Recursive Templates
    XSLT: Recursive Templates
    Easy RFC lookup from XSLT mappings using a Java helper class
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    Step u2013 By u2013 Step Simple Approach for XSLT Mapping
    Step – By – Step Simple Approach for XSLT Mapping
    Advantages of using XSLT mapping
    XSLT program itself defines its own target structure.
    XSLT programs can be imported into SAP XI. Message mapping step can be avoided. One can directly go for interface mapping once message interfaces are created and mapping is imported.
    XSLT can be used in combination with graphical mapping.
    Multi-mapping is also possible using xslt.
    XSLT can be used with ABAP and JAVA Extensions.
    Disadvantages of using XSLT mapping
    Resultant XML payload can not be viewed in SXMB_MONI if not in XML format (for service packs < SP14).
    Interface mapping testing does not show proper error description. So errors in XSLT programs are difficult to trace in XI but can be easily identified outside XI using browser.
    XSLT mapping requires more memory than mapping classes generated in Java.
    It all depends upon the required Scenario and the requirement , which mapping has to be used.
    cheers

  • Java Beans in 11g !

    Hi everyone,
    We are using 11gr2 Forms/Reports 64-bit on Windows Server 2008 64-bit.
    Now we want to use JAVA BEANS in our application.
    Suggest me link and steps for installing/using JAVA BEANS compatible for 11gr2 Forms/Reports.
    Kindly tell me benefits of using JAVA BEANS in our applications.
    Thanks vth Regards.
    Bhatt.

    Advantage of java beans is you can enhance the behavior of forms. Forms is as you know applet based running on the client. (There is a different technology associated with inserting your own java code into the loop on the application server, should you want to do that.) So with beans in theory you can get more code to run on the client and do things like read and write files on the client, communicate with devices on the client, etc.
    Regarding doing that I think the executive summary is mostly look up Fbean in forms builder help.
    How I came to that tentative conclusion (I haven't gotten mybean to work yet! What do I know?) follows.
    Home of much forms info:
    http://www.oracle.com/technetwork/developer-tools/forms/overview/index.html
    Java beans are java obviously one has to acquire a certain level of expertise in java to deal with them but more importantly how to understand how to communicate between forms and the bean? It's hard for formists, living their lives at the outside of forms, who come up with an idea of something exceptional they want to do in forms, to translate that into the bean world. Then you have to think like a form and that's unknown territory.
    One problem is terminology: what is a PJC and what is a bean? Is a bean a PJC? I have yet to definitely figure that out. The paper below says: "A javabean is a pjc which is of an unspecialized type". However after that was written seems like in many cases when people are referring to "pjc"'s they are thinking the pjc is a specialized type.
    "Oracle9i Forms provides two mechanisms for extending the client with Java. The
    Pluggable Java Component (PJC) mechanism, which was introduced with Forms
    6i, and the newer Oracle9i Forms specific, enhanced JavaBean support
    mechanism." (paper 2 below).
    I was reading this document from 2000 which is interesting:
    Paper 1:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/269054-130573.pdf
    It's talking about handlers and views and it's quickly getting over my head as I don't know enough forms internals to make much of this. For example I would like to write a bean that can print a small form. I have a proof of concept in java (6) that can print text to the default printer. So next step, create a bean that can get the data out of the form. From my formist perspective here I am in a bean how do I access some fields in a record in a block in forms? It's tough going. What does that mean in this handler/view world? Or do I have to be in the form and think of sending data to the bean and telling it to print it?
    Paper 2:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/269054-130573.pdf
    Starts out with more on the handler/view thing. Unfortunately I am totally mvc or handler-view impaired. It escapes me totally.
    "The Handler class is responsible for both maintaining the current value of any data and controlling the visual representation of the data."....vs.... "The View class is singularly responsible for presenting the data to the user in some
    manner and handling user input. The View class may allow the data to be changed
    by the user.". What? I am lost I have no idea what the handler does and what the view does. How about a discussion that is strictly goal oriented? If you want to do this, you have to talk to the (Handler| View)? Don't leave it to me to understand the handler/view thing and then figure it out from that. (This mvc thing is precisely what repels me about jdeveloper. You can't embrace jdev if you haven't drunk the mvc koolaid.)
    Further on in the paper they bring up fbean:
    "So in Oracle9i Forms a new simpler mechanism was introduced to allow you to integrate JavaBeans and Java
    Applets as custom components without writing any Java Code at all. This is all handled using a PL/SQL package in Forms called FBean.
    "FBean provides a full PL/SQL API to allow interaction with any public methods,
    properties and events that a JavaBean or Applet exposes."
    Now you're talking! This is more like it!:
    "Executing Methods
    Methods on the JavaBean are executed using one of the variety of
    FBean.Invoke methods. Like the property getters and setters there are various
    versions of this method which handle calling methods on the JavaBean that return
    different datatypes (or return void):
    • FBean.Invoke_Char()
    • FBean.Invoke_Bool()
    • FBean.Invoke_Num()
    • FBean.Invoke()
    Ok now that we know about the fbean thing we can find fbean in the forms builder help system. Looking good. I am pretty sure that somewhere in there you have to get your bean in a jar file and sign it (not a trivial proposition) and
    change the forms server configuration to include your jar file. I also think that the bean has to import frmall.jar and some of the packages regarding that view stuff. A tutorial about fbean and all these details from start to finish would be super!
    So you can talk to another applet? Really? Can this still be done considering all the security concerns in current browsers?

  • Is Java better than PHP ?

    Hi
    I see that many large companies on the web which have large websites with a lot of traffic are choosing to use application servers for their sites. Usually the ones they are choosing are j2ee based application servers. I almost never see any large website with a PHP solution, it usually uses servlet/JSP. When i look at smaller sites its usually PHP. What i am wondering is why the large companies choose to use a complex setup of application servers when they could just set up a CMS in PHP which they could just buy from some place, install easily and then they could just start writing articles for example. Why does large companies use this complex solution of application servers instead of PHP which would be a much simpler setup... is it because PHP doesnt scale as well as java or what is it ?
    Could someone please comment on this...

    What i am wondering is why the large companies choose to use a complex setup of application servers when they could just set up a CMS in PHP which they could just buy from some place, install easily and then they could just start writing articles for example.Not all "large" websites are mere CMSs. Of the CMS solutions, the best ones do not run under PHP, thus not all CMS based websites choose PHP.
    Why does large companies use this complex solution of application servers instead of PHP which would be a much simpler setup... is it because PHP doesnt scale as well as java or what is it ?The advantages of PHP are that it is free, easy to understand for beginners, and simple for small applications. It's a natural choice for inexperienced developers.
    The advantages of Java/J2EE are that it is well supported, very structured, and has a massive library of standard and external libraries to support it.
    What's PHP's answer to messaging solutions? To linear programming? To integration with legacy systems? It may well be that PHP doesn't scale, but that's the least of its problems in the enterprise world.
    Your questions sounds suspiciously like "I like PHP, why is Java so complicated?" and the answer is "The complexity exists because sometimes we need it."
    (Edited ambiguity in opening para).

Maybe you are looking for

  • How do I get pictures from my iCloud account onto my samsung galaxy mega?

    I just got a Samsung Galaxy mega and I used to have an iPhone 4 so now how do i transfer my pictures from my iCloud account onto my samsung? Is there an app for the iCloud that I can use or is there some other way that I can retrieve them? I have lit

  • QM with HUM- HU linked inspection lots

    Dear All, Here is the issue I am facing. I am using QM with WM and HUM. My handling unit has multiple batches. Thus, system creates as many inspection lots as there are batches. My questions are: 1) Is it possible to create one inspection lot for one

  • Factory reset of a Windows (Bootcamp) partition

    Hi, I just recently did a system recovery of my Mac OS X partition and imported only the User files because the system files had somehow become corrupted. I would like to do the same thing for my Bootcamp partition, but I am not sure of what program

  • In SM21 ::Status: 90% of PAGFIL01 is in use

    Hello All, In our Productions systems in sm21 we are getting below alerts on frequently SM21: Status: 80% of PAGFIL01 is in use Status: 90% of PAGFIL01 is in use Documentation for system log message P0 9 : If this utilization degree is reached freque

  • UDF value lookup

    Hi Guys i have created a UDT and linked this to UDF's on a marketing document, i then reference this on the print spec but the print spec returns the key, ie the line # in the UDT, not the description of the key. What can i do so that i return the de