I'm working in a project to do a server-client with sockets. We send and receive data using ObjectOutputStream and ObjectInputStream.
Now, our teacher explained a little reflection and RMI. I understood that I can use or RMI or socket, but not both. About reflection, it's possible (or is indicated or contraindicated) use with socket? My client can access a Class that exists only in the server, to add a data in the database for example? Or it's necessary import the .class in my client?
Thanks.
Aucun commentaire:
Enregistrer un commentaire