java-ee tag

14 questions


1 answers
368 views
0
How much load does site auto-reload on the server?

I am thinking of automatically reloading the main screen with JavaScript once every 10 minutes on a site created by JavaEE.In that case, I think it will put a load on the server like the F5 attack.I a...

1 years ago

1 answers
460 views
0
The audio tag does not play mp3 files.

Run Environmentexcludejava 1.8payaraserver version 5built in the environment.Dynamic web project name|||src| main | |- java | || -resources ||webapp    |   | metalf   | webinf   |   sample.mp3   test....


1 answers
924 views
0
In Java servlet, when SHA-256 sends WW-Authenticate header for digest authentication, the client does not return the result.

We are developing a WebAPI for Digest authentication, but if you set the message digest algorithm to SHA-256, the client side will crash.Is there something wrong with the server implementation?languag...

1 years ago

1 answers
75 views
0
If you are creating a Util class in a CDI environment, is it static class?ApplicationScoped?

When creating a Util class in a CDI environment, which of the following 1-3 would be the best?I'm thinking about performance and convenience (compatibility with JUnit), but I can't answer which one is...

1 years ago

2 answers
107 views
0
I want to delete the downloaded file

I use JAX-RS to create a WebAPI where I can download files.I want to delete this file immediately after downloading it, but I don't know how to do it.@GET@ Path (download)public Response download() { ...

1 years ago

2 answers
87 views
0
I want to share a session between applications with two war files

I am creating a web application with JavaEE7+Wildfly10.I use gradle for the build.As an independent gradle project, there are two web applications, each built as a war file.Deploy these two war files ...

1 years ago

1 answers
77 views
0
Error in JPA Find Method in JavaEE

On wildFly (Ver.8.2.0.Final), we are verifying the operation of data access using JPA's ecipselink (Ver.2.5.1).@Stateful(name=PersonalInformationDaoBeanEJB)public class PersonalInformationDaoBean impl...

1 years ago

1 answers
112 views
0
Want to handle declarative transactions at the service layer

//DAO@Transactionalpublic class UserDAO implements UserDAO Interface { @ Inject EntityManagerem; public User find(intid){ return em.find(User.class,id); } @ Override public void update (User user) { ...

1 years ago

1 answers
90 views
0
How to Enable Multi-Tenant Using EclipseLink

Wildfly10 uses EclipseLink.I'd like to separate the DBs for each tenant who uses the application.(The purpose is load balancing.Data protection uses DB line-level security.)When I looked it up, I foun...

1 years ago

1 answers
93 views
0
Using javax.announcement.security.RolesAllowed Annotations

Prerequisites/What you want to achievein JAX-RS in a JavaEE6 compliant environmentjavax.announcement.security.RolesAllowedAnnotation I want to achieve the authorization function, but I don't know how ...

- 1 - »

© 2024 OneMinuteCode. All rights reserved.