473,545 Members | 289 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why Sun introduced JAXP and SAX???

dmjpro
2,476 Top Contributor
Is anything new in SAX???
Is there any problem with JAXP???

Then why SUN introduced two techniques JAXP and SAX????
Plz explain.

Kind regards,
Dmjpro.
Jun 21 '07 #1
3 1995
JosAH
11,448 Recognized Expert MVP
Is anything new in SAX???
Is there any problem with JAXP???

Then why SUN introduced two techniques JAXP and SAX????
Plz explain.

Kind regards,
Dmjpro.
The two APIs are not alternatives; you should have read the JAXP Tutorial first.

kind regards,

Jos
Jun 22 '07 #2
dmjpro
2,476 Top Contributor
The two APIs are not alternatives; you should have read the JAXP Tutorial first.

kind regards,

Jos

Actually what happens JOASH ..... that I understood that after posted this Q.
While i did programming then i understood that these r not alternatives.

Anway, Thanks for ur reply.

Kind regards,
Dmjpro.
Jun 22 '07 #3
blazedaces
284 Contributor
Actually what happens JOASH ..... that I understood that after posted this Q.
While i did programming then i understood that these r not alternatives.

Anway, Thanks for ur reply.

Kind regards,
Dmjpro.
I'm not sure because you didn't explain it in this post, but did you read the API Josh linked?

The very first few lines sort of explain JAXP's purpose:

JAXP: Java API for XML Processing
This API is the subject of the present tutorial. It provides a common interface for creating and using the standard SAX, DOM, and XSLT APIs in Java, regardless of which vendor's implementation is actually being used..
SAX, DOM, and I assume XSLT (I haven't actually looked into this one, so I don't know for sure) are public domain software alternatives to working with/parsing XML documents. They were not produced or created by sun, in fact had almost nothing to do with them (as far as I know). They were implimented into java at some point and of course they had no reason to remove these API's.

Now do you understand the purpose of each of them and why JAXP was probably later created to simply use them all?

Hope this has helped you,

-blazed
Jun 22 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1625
by: Thorsten Meininger | last post by:
As far as I know one could access DOM trees through "pure" DOM and through JAXP using DOM. I have seen dozends of examples but I could not find any differences between the two methods. Which java statement s are typically for JAXP and which for pure DOM? For example could one say that all source code examples using Factories...
4
5585
by: joes | last post by:
Hello there I tried for several days to get a simple validation with xml schema & xerces working. Goal for me is tuse JAXP and not specific Xerces classes. I don't get the point what I am doing wrong. Could somebody help me? I didn't find any full example working on the net. Thank you for any hints! If I run the examples below, the...
0
1451
by: benoit | last post by:
Hi, When it's written in WebLogic Server 8.1 documentation that this software is based on JDK 1.4.1, and is JAXP 1.1 compliant, (http://edocs.bea.com/wls/docs81/xml/xml_intro.html#189256), does it mean that only JAXP 1.1 can be used (and therefore the latest Xerces and Xalan releases are forbidden, because JAXP 1.2 compliant), or with the...
8
1541
by: erik_midtskogen | last post by:
Hi Folks, I'm writing a general-purpose HTML screen-scraping framework in Java (scrape new web sites without writing new code, yada yada...), and I want to use the JAXP DOM api along with XPath and XSLT for most of my business logic. I actually hope to make this an open-source project if I can ever get it to some reasonable level of...
0
7398
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7805
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7416
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5969
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3449
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1878
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1013
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
701
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.