I using Encryption and decryption methods.javax.crypto
This is a network projectjava.net
First Encrypt a file then compress this file to a rar or other archive files.There is no support for RAR files in the JDK. You can have basically ZIP or ZIP.
Then send into a destination from their we need to decrypt this file and need to view.See above.
I want to do this in a j2ee architecture.As a student? You have a huge amount of learning to do, and this is not the plate to do it. Find the Oracle or IBM J2EE Tutorials.
This is my simple idea...There is nothing simple about it. If you remove the J2EE part it is reasonably simple. If not, not.