Once an annotation type is defined, you can use it to annotate declarations. An annotation is a special kind of modifier, and can be used anywhere that other modifiers (such as public, static, or final) can be used. By convention, annotations precede other modifiers. Annotations consist of an at-sign (@) followed by an annotation type and a parenthesized list of element-value pairs. The values must be compile-time constants.
Personally never used annotations for anything other than generating Java Docs and I'm not sure what your trying to use it for here? Are you really trying to define an interface?
I am a beginner in Spring framework. I am learning about Spring Dependency Injection from [Dependency Injection]. My project have been written according to above tutorial. But there is an error when I run my project.
If anyone know about my problem, plz point me.
here is my project file linke : [My Spring Project]
the followings are the library I used in my project :
You should have a database layer. It should NOT have any gui code in it.
It provides a public API that allows an external caller to interact with the layer.
The layer interacts with the database.
That public API would have a method/class that would represent "save interval" and "get interval" where the 'interval' values represent '1 month', '3 Months', '6 months' (and note that I am NOT saying to store "1 month" as a value.)
The 'save' method uses a database insert or perhaps update statement. And the 'get' uses a database query statement.
You code that and test it.
After you do that THEN your gui code, specifically the JSpinner uses the two methods.
Can anyone guide me how to write code to generate public and private keys using RSA algorithm, using your own functions? In other words, not using BigInteger etc. This seems impossible and I have a deadline of 31 October, 2013.
The problem is when I click on the next button ,it takes me to the last record and skips all the records ,I wanted to go through all the records one by one ,clicking each record one by one.
There is one record present in the text fields before pressing next button.