I have a JEE Web Application(A) with a Bean which reads the metadata from a JPEG image and stores the image in a postgreSQL DB. This happens, when a user uploads manually a jpeg file with a JSF form.
Now I have a task to provide an interface for another Application(B). Application(B) makes Screenshots and shall use the interface from Application(A) to store the images in the DB.
I have no idea how i can realize this. Is it right to make a Remote Session Bean interface with a sendImage method and the Application(B) must implement this method? And how can I transport the file between these two Applications. I would appreciate if you can give me a hint and point me in the right direction.
Aucun commentaire:
Enregistrer un commentaire