| Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Spring Framework | Web Services | BioInformatics | Java Server Faces | Jboss 3.0 tutorial | Hibernate 3.0 | XML | ||||
|
||||
|
|
||||
| Tutorial Categories: Ajax
| Articles
| JSP
| Bioinformatics
| Database
| Free
Books |
Hibernate
| J2EE
| J2ME
| Java
| JavaScript
| JDBC
| JMS
| Linux
| MS
Technology |
PHP
| RMI
| Web-Services
| Servlets
| Struts
| UML
|
|
||||||||||||||||||||||||||||||
|
Home | JSP | EJB | JDBC | Java Servlets | WAP | Free JSP Hosting | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs |
||||||||||||||||||||||||||||||
Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.
Copyright © 2007. All rights reserved.
Current Comments
3 comments so far (post your own) View All Comments Latest 10 Comments:import java.lang.annotation.Inherited;
@Inherited
@interface Dummy{
String doTestElement() default "Arre chal gaya";
}
@Dummy
public class TestTarget {
public static void main(String [] ar){
TestTarget object=new TestTarget();
System.out.println(object.doTestElement());
}
}
now i am getting exception.
The method doTestElement() is undefined for the type TestTarget
i am not able to use the interface properties.
please guide where i m wrong.
Posted by rocky on Monday, 08.4.08 @ 14:52pm | #70930
Hi friends ,
when i am deploying ejb applications i am getting simple error saying that plz check ur XML file .
but every thing in XML file is correct , but i have dought in creation of the JNDI name in weblogic.So can u plz tell me the detailed procedure to define the JNDI name in weblogic.
thanking u .
regards
chandu naik
+919705069255
Posted by chandu naik on Saturday, 04.19.08 @ 13:53pm | #57138
when i compile file with content:
@Target(ElementType.METHOD)
public @interface A {
boolean isInherited() default true;
String showSomething() default "Show anything?";
}
the compiler throwed a error:
A.java:1: cannot find symbol
symbol: class Target
@Target(ElementType.METHOD)
^
1 error
why ? i am using jdk 1.5.8
Posted by desengel on Thursday, 12.20.07 @ 23:54pm | #43148