Results 1 to 1 of 1
- 10-07-2009, 11:13 PM #1
Member
- Join Date
- Oct 2009
- Posts
- 1
- Rep Power
- 0
Getting WebService Annotations in a .class file.
Hey folks,
So I've got a bunch of classes that represent some web services. I'm using JDK 1.6 and specifically annotations in the javax.xml.bind.annotation packages.
Without really thinking too much about it, I attempted to jar up the class files from these classes. (Compiled with Eclipse v 3.4.2). Doooh! Guess what? All the annotations were removed from the resulting class files.
My questions is should I even be trying to do such a thing? Should I get the compiler to keep the annotations in the class files? - Somehow.
Is there some kind of Annotation pre/post processing I need to have hooked into the compiler?
Am I just getting old? ;)
Thanks in advance,
Carlo.
Similar Threads
-
converting java class file to exe file
By satheeshtech in forum Advanced JavaReplies: 5Last Post: 07-18-2009, 11:47 PM -
servlet and webservice
By fhenix44 in forum Java ServletReplies: 1Last Post: 01-15-2009, 08:59 PM -
WebService Client
By pravin2008 in forum NetBeansReplies: 3Last Post: 07-23-2008, 01:48 PM -
Able to find class file in WEB-INF/classes but not after add sub folders in class dir
By vitalstrike82 in forum Web FrameworksReplies: 0Last Post: 05-13-2008, 06:16 AM -
Webservice ain't working?
By marcelman in forum NetworkingReplies: 0Last Post: 08-10-2007, 02:48 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks