JSR commonly refers to Java Specification Requests, formal standards for the Java platform.
Questions tagged [jsr]
147 questions
0
votes
2 answers
Spring REST validation on custom annotation
I'm trying to add some extra validation logic on my REST beans using annotations. This is just an example, but the point is that the annotation is to be used on multiple REST resource objects / DTO's.
I was hoping for a solution like this:
public…

LG87
- 695
- 1
- 10
- 20
0
votes
1 answer
OSGi specification and JSR
Reading wiki page about osgi https://en.wikipedia.org/wiki/OSGi I saw that there is no JSR about OSGi only OSGi related JSR. Does it mean that OSGi specification is out of JSR? If yes, then why?

Pavel_K
- 10,748
- 13
- 73
- 186
0
votes
2 answers
JSR 303 validations are not working for spring 4.0
I am working on the JSR validations using spring (4.2.0.RELEASE), hibernate validator (5.2.1.Final) and validation api (1.1.0.Final) for the backend appliation with the below configurations,

Sunil Rk
- 999
- 6
- 12
- 35
0
votes
3 answers
get list of phone supported JSR
How can i get lis of phone JSR support on application ? is it possible ?

mahdi
- 16,257
- 15
- 52
- 73
0
votes
1 answer
how to get job properties in the processor through job context in JSR
I'm passing property in Run Configuration during job execution. how to get job properties in the processor through job context in JSR . Is there is any other way to get the property in processor ?

TELMILA
- 83
- 9
0
votes
1 answer
jsr 303 validated all fields in object
suppose i hava two view files(jsps) and one class(BudgetControlRegisterDto)
BudgetControlRegisterDto
public class BudgetControlRegisterDto implements Serializable {
@NotNull(message = "{NotNull.java.util.Date}")
private Date…

Mohsin AR
- 2,998
- 2
- 24
- 36
0
votes
1 answer
Direct portlet access prevented by WebSphere Portal
I'm trying to deploy a JSR 286 portlet in websphere portal.
Deployment goes fine but when I try to access a resource url directly I get the following:
Error 403: Direct portlet access prevented by WebSphere Portal
I'm very new to portlets and…
0
votes
0 answers
jvm class reload proposal, does any JSR currently aim for it?
I find classreloading would be tremendous increment in productivity. I think redefining class is very limited.
Over the years we found several workarounds to keep constantly changing part of our applications in some kind of domain specific…

samarjit samanta
- 1,285
- 2
- 16
- 29
0
votes
1 answer
How to get attributes from a bean using JSR annotation groups?
I have a form bean (Employee) which can be shared across different screens. To differentiate the fields across screens used, i had planned group the fields using JSR custom annotation with a group name.
For example,
class Employee…

Karthik
- 522
- 3
- 13
0
votes
0 answers
Spring batch - JSR 352 retry fails when skip exception in thrown in writer
I am trying to investigate what happens when an exception is throw in the writer. As per theory I was expecting a roll-back to occur and then retry the chunk setting commit size as 1. but this is not happening and i am receiving the following…

Ravikiran butti
- 1,668
- 2
- 11
- 18
0
votes
1 answer
Spring Batch JSR-352 restarts the wrong partitions
I've created a simple batch using the Spring Batch JSR-352 implementation. The batch uses a PartitionMapper to inject a separate property for each chunk.
According to the JSR-352 specifications (when partitionsOverride = False) when one of the…

Wesley
- 3
- 3
0
votes
1 answer
JSR Validations for dependent variables
I am writing JSR validation for following inputs.
@JsonProperty(value = "state")
@NotEmpty
private String state;
@JsonProperty(value = "zipValue")
@NotEmpty
@Zip
private String zip;
@JsonProperty(value =…

kiran
- 1
- 4
0
votes
1 answer
Spring validation with Javax.validation redirects to 400
I am working on a Spring-MVC application, and I want to validate some data. Currently I am able to validate the data with no problems. Only thing is if the data is invalid, I would like to go to another JSP page, which is not happening right now.…

We are Borg
- 5,117
- 17
- 102
- 225
0
votes
1 answer
JSR 352 Java Batch: Partition Plan won't work when inside a split
Partition Plan won't work when inside a split
The following example is just a:
job -> split -> flow -> step -> chunk -> partition
The problem is that the parameters set in the partition plan wont work if I put the flow inside a split. If you delete…

Matias Comesaña
- 51
- 6
0
votes
1 answer
How @Digits constraint (Bean Validation-JSR 303) supports String type?
While studying BeanValidation from documented here, I came to know that @Digits supports String datatype. here the snap-shot from documentation.
package javax.validation.constraints;
/**
* The annotated element must be a number within accepted…

Vishal Zanzrukia
- 4,902
- 4
- 38
- 82