JSR commonly refers to Java Specification Requests, formal standards for the Java platform.
Questions tagged [jsr]
147 questions
5
votes
2 answers
What does "withdrawn" status mean for a JSR?
I was checking the JSR 227 page and see its status be shown as "withdrawn". What does this status mean? Does it mean it is deprecated? is there a newer version that has replaced this specification?

Geek
- 26,489
- 43
- 149
- 227
4
votes
1 answer
Is there a meaningful way of collecting feedback for a JSR/JEP before entering it as a proposal?
I intend to launch a JEP/JSR to introduce an alternative access operator into the Java Language Specification. I've worked out how the proposal could look like, and now I want to collect feedback on said proposal (for example, if I am the 999th…

TreffnonX
- 2,924
- 15
- 23
4
votes
1 answer
How to find the jar of java.rmi package
I am developing an Android application which needs some rmi stuff since Android doesn't support rmi by default i found this project can be used to bundle the rmi package with my Android application but i couldn't find a jar which includes java.rmi…

Keshan
- 14,251
- 10
- 48
- 72
4
votes
1 answer
@Basic(optional = false) vs @Column(nullable = false) vs @NotNull
Of the three options, should I be using one or two or all three combined to prevent null values?
@NotNull
@Column(name = "SOME_VALUE", nullable = false)
@Basic(optional = false)
private String someValue;
Note that I don't consider this a duplicate…

Chris Williams
- 11,647
- 15
- 60
- 97
4
votes
1 answer
How to setup jadira PersistentLocalDateTime with java.time.LocalDateTime?
I am trying to persist java.time.LocalDateTime using Hibernate and JPA. I used Jadira Framework ("org.jadira.usertype:usertype.core:3.2.0.GA" & "org.jadira.usertype:usertype.extended:3.2.0.GA"). I created package-info.java file and created…

Piotr Pradzynski
- 4,190
- 5
- 23
- 43
4
votes
1 answer
Java Typical Way to Access TCKs
I wanted to start implementing a specific JSR to start learning about different aspects that might be involved when doing so. To also get the satisfaction of knowing whether I succeeded, I'd need a TCK (Technology Compatibility Kit) to verify the…

Marcus
- 35
- 2
3
votes
0 answers
Why does the Java @Deprecated annotation not have a "use .. instead" field?
I understand the Java @Deprecated annotation comes with fields since and forRemoval. However, this is not sufficient for developers to switch to the non-deprecated alternative(s) and therefore it is recommended to additionally put a Javadoc with the…

DaHoC
- 314
- 1
- 4
- 14
3
votes
3 answers
DateTimeFormat accepting numbers in json request instead of date format
I need to validate date using jsr annotations / spring rest
@Email(regexp = ".+@.+\\..+")
private String email;
@NotNull
@JsonFormat(pattern="yyyy-MM-dd")
private LocalDate dateOfBirth;
But its accepting below json request
{ "email":…

hacker
- 342
- 1
- 4
- 14
3
votes
1 answer
How can I remove all properties in Jmeter after the run?
I usually set properties within the run in Jmeter. How can remove all these properties after the run without knowing their names?
I usually use props.remove() to remove only one specific property, but how can remove all?

Ahmed Gehad
- 71
- 1
- 7
3
votes
0 answers
What JSRs does the Spring Framework use?
I'm trying to understand what jsr-s Spring uses. In the documentation of Spring there are jsr-340, jsr-356, jsr-236, jsr-367, jsr-303, jsr-338, jsr-330, jsr-250, jsr for JTA, jsr for JCA and that's all. However there is JSR for JMX and there is…

Margulan Zharkenov
- 440
- 2
- 8
3
votes
2 answers
Swagger-Springfox + WebFlux + JavaX validation (JSR 303) support
I am trying to implement Swagger for documentation, so that it picks both JSR 303 validation annotations and Spring Webflux based classes.
In Spring Boot project, I am currently using:
Spring Webflux framework for some classes
JSR 303…

Vandana
- 71
- 2
- 5
3
votes
2 answers
where is JSR-97 (JavaHelp)
Since the Sun->Oracle transition, the search for java-documentation has been a mess. I'm looking to find the official JSR-97 specs:
http://jcp.org/aboutJava/communityprocess/final/jsr097/index.html
Clicking on the link leads a redirecting page,…

Roalt
- 8,330
- 7
- 41
- 53
3
votes
2 answers
Dynamic Form with Spring MVC bind form object CGLIB
I have a dynamic model consisting of X number each of radio, text, select, select-multi. This is basically like an EAV database in the backend.
I need to present this dynamic form with N total of fields then validate the submitted dynamic model…
user2066936
3
votes
2 answers
WebSockets JSR 356 Spring integration @ServerEndpoint
Problem: @Autowired beans in @ServerEndpoint class are null
How can I make sure that this WebSocketController class below will be injected with beans, that is how can I make it managed by Spring? I can connect to the websocket so it works but…

Greyshack
- 1,901
- 7
- 29
- 48
3
votes
2 answers
Own thread in a Java EE server - State of the art
I know this is considered bad practice, and forbidden in some case (ejb).
So, there are three distinct questions:
what is the state of the art, specifically with JSR 236 that should address the question. Is that already included in some application…

Leonardo
- 9,607
- 17
- 49
- 89