I have a Java EE application which should start a synchronization process with an external system once after its deployment.
How could I implement this requirement?
You can use the @Startup and @PostConstruct annotations to perform tasks on application startup.
@Startup
@PostConstruct