• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Embedded jar in java 6

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all I my application I have following jar declared as a Maven dependecies:

serializer.jar, xercesImpl-2.8.1.jar, jaxb-api.jar, jaxb-impl.jar, saaj.jar


But I think some of them are already included in rt.jar ? Can you tell me so that I do not exclude dependencies if they aren't already present in java 6 ?

Best regards,

Adrien
 
Adrien Ruffie
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any one have a idea ?
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
XML parsing (what you use Apache Xerces for) and JAXB (Java API for XML Binding) are already in the standard Java library, in the packages javax.xml.parsers and javax.xml.bind. If you use the standard API you wouldn't have to use external libraries for that.

I don't know what serializer.jar and saaj.jar are.
 
Adrien Ruffie
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok thank you,

I have exclude them and I try to find find if serializer and saaj is already provided into java6 but it isn't very clear on forums ...
if anyone knows the question, I'm interested
 
Adrien Ruffie
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also have another question.

In my application I have the following dependency:

org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:compile pulled by org.apache.axis2:addressing:mar:1.5.1:compile
javax.mail:mail:jar:1.4:compile also pulled by axis2:addressing:

+- org.apache.axis2:addressing:mar:1.5.1:compile
[INFO] | +- org.apache.ws.commons.axiom:axiom-api:jar:1.2.8:compile
[INFO] | | +- org.apache.geronimo.specs:geronimo-activation_1.1_spec:jar:1.0.1:compile
[INFO] | | +- org.apache.geronimo.specs:geronimo-javamail_1.4_spec:jar:1.2:compile
[INFO] | | \- jaxen:jaxen:jar:1.1.1:compile
[INFO] | +- org.apache.ws.commons.axiom:axiom-impl:jar:1.2.8:compile
[INFO] | +- org.apache.ws.commons.axiom:axiom-dom:jar:1.2.8:compile
[INFO] | +- javax.mail:mail:jar:1.4:compile
[INFO] | +- xalan:xalan:jar:2.7.0:compile

and com.sun.mail:javax.mail:jar:1.4.4:compile pulled by another dependency I my application.
Can't I exclude 2 of these 3 dependencies ... and which of them ?


xerces:xercesImpl:jar:2.8.1:compile pulled by net.sourceforge.nekohtml:nekohtml:jar:1.9.7:compile

In fact that xeces is already embedded into java 6 can I exclude 2.8.1 ? because my last exclude was xercesImpl 2.7.1 and
I have javax.mail:mail:jar:1.4:compile pull

And how can I be sure that there will be no problem in execution due to exclusions?
 
It's a beautiful day in this neighborhood - Fred Rogers. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic