• Welcome to Valhalla Legends Archive.
 

RMI

Started by iago, December 22, 2003, 05:40 PM

Previous topic - Next topic

iago

RMI
Just wondering what people can tell me about RMI.  Basically, how it implemented and what are the security concerns? I don't want a big long answer, but I'm going to be using it later, and I would like to know how it works, a little.

Thanks!
-iago
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Banana fanna fo fanna

TRMI makes life much, much easier.

http://trmi.sf.net/

Hostile

As usual Storm digs up more third party toys which no one ever wants to bother with :P RMI, as you may know stands for Remote Method Invocation, and is basically a Java version of RPC (Remote Procedure Call, of course). RMI also has the capability to send over one object with the request. For instance, I'm currently running an RMI server from WebLogic (My Application Server) to Oracle (My Database), in which anytime a request made its goes through RMI to communicate with each other. :P
- Hostile is sexy.

Banana fanna fo fanna

Are you serious...

RMI is a total bitch to work with. TRMI is completely transparent; no need to implement any interface, no need to use that god-forsaken rmic any more!

Should probably pay attention to my next lesson, hostile.

iago

The problem here is that I'm not writing RMI stuff, I'm going to be maintaining and expanding it.  Although I haven't looked at those links yet, or the jsp stuff, I will this coming week.  I'm going to get to know all this java stuff very well very fast :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Hostile

I didn't say it wasn't useful, just said that mainly since you almost always automatically respond with third party solutions for you responces, not a bad thing just my comment. Either way... iago, I'm not sure what you wanted to know at the time I wrote it. Thats just a breif explanation on what it is (hopefully helpful) and if you're not going to be writing anything with it them most likely besides knowing what it is and what it is used for most RMI solutions are already made for programs like my example (Oracle and WebLogic). Not sure what else you're looking for.
- Hostile is sexy.

iago

#6
Once I get a chance to look through this stuff, I'll let you know :)

What I'm doing involves file transfer.  From what I've seen, so far, it calls a function with a byte[] and char* to upload a file to a remote location.  Does it make sense to use RMI for this?

[edit] I should also say that they only allow a-z, A-Z, ., -, and _.
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Banana fanna fo fanna

Well...why waste time using something bad when something is already written for you, no hassle?

iago

Quote from: St0rm.iD on December 24, 2003, 10:20 AM
Well...why waste time using something bad when something is already written for you, no hassle?

Because, like I said, I didn't write the code, I just have to know how it works?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*