Java XSLT technologies

I have a new project that will need an XSLT engine. What I'm now in the process of researching is which Java-based XSLT engine I will use, and are there any related technologies that I should consider to make my job easier :)
I want to go with something that is free.
Does anyone have any suggestions on which technologies I should focus on?
At this point, I'm just trying to understand the big picture of what technologies I might be able to use, and then make decisions for the project.
This would run as part of an application server I am creating.

I'm no expert but it seems to me you're doing fine.
In theory app logic should be separated from
presentation logic, and both should be separated from
the data being processed and/or displayed.
Except for very simple stuff, I find this rule very
useful.
JSP's have a simpler syntax than servlets and that's
its main advantage. It's accessible to more people and
can be an option if you're developing simple web apps,
simple enough to not cause you hard problems in the
future if you need to change it, either in its logic
or in its presentation settings. I've got so used to
servlets that I never used JSP's, though.
Hi,
In the past I used JSPs alot in my developmentt, which also meant that I quite often mixed app logic with presentation logic. Also scriplets with HTML etc. As I got more familiar with Servlets and XSLT. I saw the advantage of of being able to put all html coding within my XSLT and let the servlets generate my outputs. This approach however, raised my questions about JSPs and good design practice.
cheers
erik

Similar Messages

  • JAVA, XSLT, Mappings

    Hi,
            Can any one provide me the JAVA, XSLT Mappings with video demonstrations.
    Regards,
    Nissi

    Hello
    This thread is being locked by SDN moderator. Please familiarise yourself with the forum Rules of Engagement before posting on SDN. Please search the forum for existing answers before posting
    Rules of Engagement
    https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement
    Regards
    XI/PI Moderator

  • Question about Java,XSLT and XML

    I am new to Java and XML. I'm not quite clear the relationship between Java,XSLT and XML.
    To exercise, I am going to write a Java program that makes embedded calls to an XSLT processor(XALAN), to produce results for several constrained transformations from a given XML document(x.xml) such as:
    1.Transform the x.xml (which satisfies d1.dtd) in such a way that it now conforms to the DTD d2.dtd. Output the resulting xx.xml document.
    2.query some information from the x.xml and then form an Html output.
    3.summary some information, do some statistics from the x.xml and then form an Html output.
    I don't konw which java classes and XSLT functions might be used.(Actually I don't know how/where to start).
    Can anyone give me some clue ?
    thanks a lot!

    You must provide XSLT stylesheeds to specify transformations (1), (2),
    and (3); let's call those stylesheets task1.xsl and so on.
    The following code will transform x.xml into xx.xml according to task1.xsl. It gives you an idea which packages and classes to use, but it doesn't teach you proper Java programming technics :)
    import java.io.File;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    public class Test
        public static void main(String[] args) throws Exception
            TransformerFactory factory = TransformerFactory.newInstance();
            Source config = new StreamSource(new File("task1.xsl"));
            Transformer transformer = factory.newTransformer(config);
            Source source = new StreamSource(new File("x.xml"));
            Result result = new StreamResult(new File("xx.xml"));
            transformer.transform(source, result);
    }To read about XSLT, see:
    http://www.w3.org/TR/xslt
    there is a tutorial on using XSLT with Java:
    http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/index.html.

  • Performance of mappings (JAVA, XSLT, ABAP)

    Hello everybody,
    I would like to know about the performance of mappings using different languages (JAVA, XSLT, ABAP).
    Does anybody know which one will have the best performance?
    Thanks a lot.
    Regards Mario

    Hi Mario,
    I thought i will start of from scratch. Mapping is basically done to convert one form of xml into another form. This can be done using either of them mentioned below.
    - Graphical mapping
    - XSLT mapping
    - JAVA mapping
    - ABAP mapping
    There is no hard and fast rule for using the mapping techniques. But, I will try to put things in the right perspective for you.
    Graphical Mapping is used for simple mapping cases. When, the logic for your mapping is simple and straight forward and it does not involve any complex logic.
    Java and XSLT mapping are used when graphical mapping cannot help you.
    When the choice is between Java and XSLT, XSLT is simpler than java mapping and easier. But, it has its drawbacks. One among them being that you cannot use Java APIs and Classes in it. There might be cases in your mapping when you will have to perform something like a properties file look up or a DB lookup, such scenarios are not possible in XSLT and so, when you want to use some specific Java API's you will have to go for Java Mapping.
    Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but, DOM is very processor intensive.
    SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exactly easy to develop either.
    To know more about each of them please go thru the following links. And if you ask me your which is better, it depends basically on the scenario you implementing and the complexity involved. Anyways please go thru the following 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
    /people/bhanu.thirumala/blog/2006/02/02/graphical-message-mapping-150-text-preview
    http://www.sapgenie.com/netweaver/xi/mapping1.htm
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    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
    ABAP mapping
    /people/r.eijpe/blog
    To know more about the value mapping tools for the SAP Exchange Infrastructure (XI), please go thru the following link:
    http://www.applicon.dk/fileadmin/filer/XI_Tools/ValueMappingTool.pdf
    To get an idea as to what value mapping is, please go thru the following links:
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/dfae3d47afd652e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    most of the links that I have provided also helps you get the step by step procedure of doing the same. And also involves the procedure to implement certain advanced features.
    And please go through this link which clearly explains the 3 types of mappings.
    /people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi
    Hope this clears your doubt fully.
    Regards,
    Abhy
    PS: AWARD POINTS FOR HELPUL ANSWERS.

  • Java / XSLT configuration project

    Hi
    Just wondering if anyone know�s if there are any Java / XSLT configuration project out there at the moment, open source or not.
    I�m going to be developing a drag and drop interface to develop html page using java, xslt and xml. Instead of hand writing the xslt each time, I hoping to develop something where I�II have a couple of different templates that will be populated using Java and XML
    Cheers in advance
    f

    I wrote a web application that uses XSLT to generate its HTML output once. And I did have the word "template" in mind. So basically each page is an XSLT document and the Java code feeds it XML (in the form of SAX events).
    But it's not "out there" in the sense that you can grab its code off the Internet.

  • Re-Learning Java Web Technologies

    Hi
    For the last 2 years, I have been developing ASP.NET applications. Therefore, I have not followed any new developments within Java industry.
    However, now I just want to re-learn Java web technologies.
    Therefore, could you kindly inform me whats the best book that can give me a good ground intp Java web / Enterprise development.
    Thanks

    Thanks for the answer.
    When I was doing ASP.NET development, I found these 2 books useful:
    http://www.amazon.co.uk/gp/product/1861008031/026-2514404-8364464?v=glance&n=266239
    http://www.amazon.co.uk/gp/product/1861008163/026-2514404-8364464?v=glance&n=266239
    These books showed how to develop a full working website with asp.net.
    I wonder if there are similar books for Java. I am not a beginner with Servlets or JSP. I just want to know how to put together a full working website with the latest Java technologies.
    Core Servlets and JSPs is definitely a very good book.
    Kind regards

  • How relevant is Java Applet technology in 2006 for wide web deployment?

    How relevant is Java Applet technology in 2006 for wide web deployment?
    I'm developing a website which requires deployment Internationally to as many users as possible. Many people advise to stay away from Java applets, others say only use Java 1.1 (AWT limitation), some say use Flash, others say stay away from applets and plugins altogether.
    Of course it depends on the content. I have interactive 3D content currently powered by Java 1.1 applet BUT I have been using Swing to introduce custom GUI functionality but which I know may limit compatibility. I'm torn by this whole debate and what impact it will have on the relevancy of my website.
    How many users out there have browsers that will cope with my content?
    Then there's the issue of all the various different browsers nowadays. I'm testing for IE and Netscape on Windows platform, but what about other browsers and OSes on other platforms? I notice that some websites have a page with tables to show users what browser is and is not compatible with their web content. How far must a web developer go to test all these things exhaustively?
    Then there's the issue of a 16MB download for the latest Java plugin if a user's system is not up to date. Can all modern browsers handle Java even with the latest Java download?
    Or should I just tell the user to get a compatible browser? Another 10-20MB download, depending.
    Or how about Flash? That reportedly has a vast International deployment base, but do I need to pay for a Flash editor / IDE / compiler? So far I've been using freeware (HTML, Java, NetBeans, PHP, MySQL, PNG images) to achieve excellent results within my ludicrously limited budget. The Flash Player is only a 930KB download, and that is quite user friendly even if I must tell a user to get the latest version � only 2 minutes download on a 56K modem or about 15 seconds on DSL followed by a 2 second really easy install.
    Look here to see where Java ranks against Flash and others :
    http://www.macromedia.com/software/player_census/flashplayer/
    I know Java. I use it for apps and now applets. I get it to communicate with my server's PHP and MySQL. It works well on my machine, but will my applets work for millions of users world wide with few technical problems? Looking through Java forums I see developers struggling with Java Applets in Safari on OSX but not on Windows. Then another has problems with Applets in IE on Windows but not on Netscape. Then one browser struggles with key events . . . it's like a mine field out there and I'm struggling for clear direction.
    Microsoft's support for Java has been poor. If I depend on Java Applets now and for the next year, then will they still be supported 3 or 5 years from now? Or will I have to write off this investment in Java development effort and then switch to something else? Or switch to something else now?
    Does Sun Microsystems somewhere reveal how ubiquitous their JVM deployment is?
    Perhaps I'm totally misinformed, but Java Applets seem to be dying out. I'd really love to hear from other active web developers out there doing stuff for wide deployment to mass markets.

    Since my zwebsite is already using Java 1.1 for 3D visualization I've decided to standardize on Java 1.1 to gain maximum browser compatibility. To add another technology like Flash at this point may just complicate matters, especially for me.
    I'm now converting my Swing GUI to AWT. It wastes a lot of time, but the effort should be worth it in terms of the deployment success rate - in theory at least :-)
    Just imagine if Java 1 had Swing . . . dream on!
    In the deployment stats noted in my first post on this thread they state that Java has 86% world wide desktop deployment. Problem is that I bet that figure only relates to Java1. I wonder what pathetic percentage is true for Java2?
    Regarding the use of Java for content rich dynamic content for world world wide web browser deployment . . . I'm rather disillusioned at this point. It seems for this application Java is stuck indefinitely at Java1 and the cool things they developed after that cannot be used effectively. Please note that I am ONLY referring to wide browser deployment. For stand-alone apps and targeted web deployment (where you can reasonably expect your user to upgrade his/her system for a good reason) Java is still very cool.
    As for Java WebStart: I can see the uses for it, but it just does not fit into the browser application where the general public enter your web pages and see cool content inside the essential context of your webpage. This last point is vital for any serious web site. If the object of the site is to deploy a useful app to the user (like a forex trading front-end with GUI) then use Java WebStart by all means.
    After this website, I'll invest in Flash. I'm sure Flash is not without its share of issues, but it has 97% deployment of nearly the latest versions and user download/upgrade is under 1MB. On top of that it does not seem to suffer from corporate relationship woes like those between Sun and Microsoft.
    After all, Flash is labelled as a 'player' and not a Virtual Machine. Mass users out there want to play rather than know about complex and bulky IT stuff.

  • CAN I USE JAVA CARD TECHNOLOGY TO BUILD BIOMETRIC COLLEGE ATTENDANCE SYSTEM

    HELLO everybody,
    I am new in Java card technology.Please any one can guide me.Can i use Java Card Technology to build biometrics college attendance system.If i can so which device should i need to buy or eBooks..
    PLEASE I NEED HELP..
    Thanks for your time ..
    I am looking forward to hearing from everyone..
    Thanks
    Durjan Hussain
    SCJP1.4,SCWCD

    Thanks AlexRashevsky for your good comments,
    I want to build Student Biometrics Attendance system.I want to use biometrics reader.Please i need guide for which biometrics device can i use to build the system.If you can give me your contact number that could be great with country code.Because i am doing this Project for my M.Sc dissertation and also for real client.
    I am looking forward to hear from you.
    Thanks.

  • Regarding Updating of Java ME Technology in Nokia ...

    how can i update the java ME technology in Nokia C1-01 like AMMS API?
    Reply my answer as soon as possible.

    Nope.
    only updates, if any, would come in the form of firmware updates. as your device is already a few years old, support for it has ended and therefore it will not receive any more updates.

  • How java card technology could be installed on Nokia 6131 NFC

    Hi all,
    these days i' busy with a NFC. i wanna know how to install java card technology to Nokia 6131 NFC phone.
    I'm using Sun java card development kit 2.2.
    thanks

    Hi
    Using Omnikey Cardman 5231 reader and JCOP Tools, i am trying to install an applet on to the secure element of Nokia 6131 NFC
    1. i am able to successfully install the unlock midlet.
    2. i got the ATR message from
    cm>/card
    resetCard with timeout: 0 (ms)
    --Waiting for card...
    ATR=3B 88 80 01 00 73 C8 40 13 00 90 00 71 ;[email protected]
    ATR: T=0, T=1, Hist=0073C84013009000
    => 00 A4 04 00 09 A0 00 00 01 67 41 30 00 FF .........gA0..
    (26335 usec)
    <= 6A 82 j.
    Status: File not found
    => 00 A4 04 00 07 A0 00 00 00 03 00 00 00 .............
    (37623 usec)
    <= 6F 10 84 08 A0 00 00 00 03 00 00 00 A5 04 9F 65 o..............e
    01 FF 90 00 ....
    Status: No Error
    i set the keys
    set-key 42/1/DES-ECB/404142434445464748494A4B4C4D4E4F 42/2/DES-ECB/404142434445464748494A4B4C4D4E4F 42/3/DES-ECB/404142434445464748494A4B4C4D4E4F
    Next init-update, i am getting error in this step
    cm>init-update 42
    => 80 50 2A 00 08 59 FE 2C 3F 80 D1 2F F4 00 .P*..Y.,?../..
    (33921 usec)
    <= 6A 88 j.
    Status: Reference data not found
    jcshell: Error code: 6a88 (Reference data not found)
    jcshell: Wrong response APDU: 6A88
    i appreciate if any one could let us know correct keys or any step by step process that is needed to follow, so that i can successfully install the applet on the secure element of Nokia 6131 NFC phone.

  • Java Card Technology

    Hi,
    Iam new to Java Card Technology, Can any one explain me how to compile a java card program using eclipse.
    and from where do we need to pass apdu commands, how to check the output(data which is written into smart card), etc...
    Thanks,
    Shash
    [email protected]

    For Eclipse there is are the famous JCOP Tools. To get these you need to contact your local NXP sales representative. The tools itself are free of charge. There is also an open source Eclipse Java Card tool. Forgot the name.

  • Java card technology question

    Hi all
    Im new to the java card technology. I've downloaded and installed the java card kit and tested the demos on the virtual environment. I have the towitoko card reader, downloaded the cttwkw32.dll, but i dont know how to communicate with it.
    Can pls anyone tell me what steps should i follow in order to be able to communicate with the reader? is there any IDE for building such applications (except for the eclipse and the jcop toolbox)?
    Thanks in advance.

    javacard.framework is defined in a jar file, supplied with Java Card Development kit from here: http://java.sun.com/products/javacard/downloads/index.html
    As for
    import sim.toolkit.*;
    import sim.access.*;
    This question is already discussed here:
    http://forum.java.sun.com/thread.jspa?forumID=23&threadID=240703

  • Java Card Technology for Smart Cards: Zhiqun Chen

    Hi,
    I have this book but its using Java card 2.0.
    do you know if the author "Zhiqun Chen" have new one for 3.0 connected.?
    http://java.sun.com/developer/Books/consumerproducts/javacard/
    Edited by: Hassan on Apr 20, 2012 3:45 AM

    That is the latest copy. It is still a good reference for getting started and contains some more advanced topics that are relevant to newer JC versions. I am not sure if a book on connected edition is relevant considering there is no real application that I am aware of. You may be able to get cards that support JC 3 classic though.
    The book is available on Amazon: http://www.amazon.com/Java-Card-Technology-Smart-Cards/dp/0201703297
    It is well worth the $33.
    Shane

  • Latest Java XML technology

    Hi, can anyone tell me what's the latest Java XML technology? Is there anything similar to .NET DataSet? I know SDO has a feature "changeSummary" to make the update of XML data easy. But it looks SDO is not popular now (correct me if I am wrong). Is JAXB the only popular framework for Java XML? Is it as powerful as .NET DataSet? Thanks

    Dude, this is a Java forum. Do you really expect people to know .NET stuff?
    JAXB is an API, not a framework. Its not popular, its part of the JEE spec which basically makes it a given to use it. You can use it to do XML binding stuff; nothing more, nothing less. It is used by several other APIs to do the XML binding stuff, like JAX-WS. When used properly you can quite effectively bind XML documents to an Object hierarchy and the other way around.
    A piece of advice: if you want to do Java stuff, forget .NET exists. If you can't do that, at least stop doing that "I do it like this in .NET, how I do it in Java?" way of thinking. You have a problem which needs to be solved, go find something that works.

  • I am looking for Java-based technology for building nice looking Web apps

    Hi everybody,
    As written in subject - I would like to use some nice web technology, based on Java. I would like to build good-looking web pages. I have tried a bit of Dojo or JQuery (generally this is Ajax I think). Could someone point me what is the relation between Java application/technology and presentation layer of the application? For example, could I easily build nice Web application only with JSF? Or should I connect it with some Ajax-based library?
    If Ajax is best solution - what are your favourite Ajax implementations?
    What about other technologies: portlets, EJB? Thanks in advance for some info - even general.

    DCVer wrote:
    As written in subject - I would like to use some nice web technology, based on Java. I would like to build good-looking web pages. I have tried a bit of Dojo or JQuery (generally this is Ajax I think). I think you need to start to learn the basics properly. I've summed up several links here: [http://forums.sun.com/thread.jspa?threadID=5404443].
    Could someone point me what is the relation between Java application/technology and presentation layer of the application? For example, could I easily build nice Web application only with JSF? Or should I connect it with some Ajax-based library?Java/JSF is entirely server side.
    JS/Ajax is entirely client side.
    In JSF world there are several component libraries with builtin ajaxical (and skinnability -this also covers "nice looking" as you say) support, such as RichFaces and IceFaces. Give their homepage and demo's a look.
    If Ajax is best solution - what are your favourite Ajax implementations?I myself have jQuery on #1.

Maybe you are looking for

  • Opening and Closing values on two separate rows for an indvidual A/c?

    Hi / Salam To all SAP Members, I am creating a COGS report in which i need to show opening and closing values for a stock account in two separate rows. The tool i am using is report painter. What i need to know is how can the system identify between

  • Windows 7 Home Premium 64 Bit activation problems ( 0xC004E003 )

    I just fixed my old computer that crashed years ago (windows xp).  Windows 7 Home Premium works find just cant get it to activate every time i enter the key it loads all the way then I get an error code ( 0xC004E003 ).  What can I do to fix?  Calling

  • IMac DVD Burner only burns on Apple Brand blank DVDs

    Hello, I have an iMac G4 Dome and just last week it stopped burning DVDs on any brand outside of Apple Blank DVDs. The CD burner works fine, it's just the DVD burner. Can anybody help?

  • Are .FLV Files Supported in RoboHelp?

    Are Flash Video (.flv) files supported in RoboHelp 7, or do we still have to use other types? I tried inserting one into a topic page just to see, but noticed that the .flv file type isn't in the "Files of type" drop down field. Thanks.

  • Auto analyzer/Face Recognition does not stop in PSE9

    Running a C2D 2.66 GHz, Vista 32 4 GB RAM, PSE9.0. I am desperately trying to turn off those annoying boxes that pop up in Organizer asking "who is this?".  Under preferences, all of the following are unchecked: -People Recognition -Auto analyzer opt