Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

Direct access to aar-Files

Thread view: 
RealRaider - 12 Jun 2007 10:00 GMT
I've got a perhaps little curious question!

I'm using a simple Tomcat 5.5 and got some war-Files in my "webapps"
dir.
Also I'm using Axis 1.1.1 with some aar-Files.

What I want is to use an aar-Archive "without" using the http-
protocol; a direct access!!!
The war-File (which should use the functions provided by aar's) and
aar-Files are on the same machine,
almost in the same directory, and in theory there could be direct
access possible?! ...

Perhaps it exists a special address provided by the Tomcat Server?!

Hope someone knows! Thanks!
Arne Vajhøj - 17 Jun 2007 00:09 GMT
> I've got a perhaps little curious question!
>
[quoted text clipped - 10 lines]
>
> Perhaps it exists a special address provided by the Tomcat Server?!

You will not have any problems reading the aar file from a standalone
Java app.

But if you want to use SOAP/HTTP then you need to speak HTTP not
file access.

If you want to use the code in the aar from your war, then an aar
is just a jar, so if the aar are in you war's WEB-INF/Lib or otherwise
is in the classpath then you can call the code.

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.