I decided it was time for me to delve into Java EE as a whole. I use EE with some methods in Java SE, such as JPA or JMS, but I still messed around with Java SE, and I believe that Java EE and the application server will solve some of my problems that I have.
BUT: I have some questions after reading some articles on the Internet.
1st: Am I limited to request-response applications? I have an application that processes XML documents via HTTP. All delivered objects are added to the queue, which will be sent to another thread. Some checking is done for these objects, including opening sockets on a remote computer (I heard that EJ-Beans are not allowed to do this, is that true?). So, is it possible to do this on the application server?
2nd: I know there is a message with beans message, is it possible to send JMS messages to MDB from outside the application server? I have a service that sends JMS messages but starts as an outdated system, and not inside the same application server.
3rd: How can a system administrator or user configure my application? I know that some things, such as database connections, are configured on the application server, and my application can search for them through JNDI or receive through DI. But what about a specific application configuration?
Yes, these are pretty unnecessary questions, but maybe someone has time to explain to me how it all works. :)
Regards, Posix
PS:
4th: It seems that EJBs cannot do anything with files, so Java EE does not seem to be an option for a Service that receives files, pushes them to different systems and wants them to write to Socket (see question 1)?
posixcompliant
source share