wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes EJB jars to EXE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB jars to EXE" Watch "EJB jars to EXE" New topic
Author

EJB jars to EXE

Chirag Jakharia
Greenhorn

Joined: Dec 03, 2003
Posts: 23
We want to have an application to be distributed to our clients
These clients will be given the whole EJB Application
So We want to convert those EJB jar into EXE so that the client cannot decompile it easily
I have gone through one website which can convert Java Application into EXE
But I want EJB 's to be Converted to EXE and also to be able to communicate to its container
Thanks
Chirag
Sergiu Truta
Ranch Hand

Joined: Dec 16, 2003
Posts: 121
I agree with converting a simple standalone Java application into exe but I think that converting into exe an application which runs inside an app server is a too much expensive process because there are a lot of dependencies to take care of. And also your exe will have to run inside the app server .
I haven't heard of a tool doing all these, so if you find one share it with us.
Maybe the guys know something...


...watch me...as I'm walking the path...
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

These clients will be given the whole EJB Application

Where the clients going to run the exe (Converted from EJB) ? :roll:


Groovy
Chirag Jakharia
Greenhorn

Joined: Dec 03, 2003
Posts: 23
The Real Problem here is that our company has both Single User Clients as well as Web User Clients
and So it is not advisable to create and maintain a seperate applications
So I am looking out for any EJB converter which can convert the EJB Bean as well as application jars to EXE so that My code remains safe from decompiling
Thanks in advance
Chirag
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Originally posted by Chirag Jakharia:
So I am looking out for any EJB converter which can convert the EJB Bean as well as application jars to EXE so that My code remains safe from decompiling

Not gonna happen. However, you can look into obfuscating your code... which will make decompiling very hard. Besides your client code should just be the stubs and not the actual implementation classes so there is very little that your clients will learn from decompiling the code. In fact, they will only learn the interface to your EJB... which is going to be public knowledge anyways if you expect them to actually use your service.
Chirag Jakharia
Greenhorn

Joined: Dec 03, 2003
Posts: 23
The solution given by you appears to be some appealing
As there is no other solution I think Your solution to obsfucate the code is somewhat good
It is better to have something than having nothing
Thanks for the reply
Can you give me a link to any autoimatic obsfucators
Thanks again
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

Havent used it but may be it will help
http://www.semdesigns.com/Products/Obfuscators/JavaObfuscator.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB jars to EXE
 
Similar Threads
Converting Swing appl. to .exe file
Converting Java Programme to appliation
want to create exe file for java application
How to convert Applet program into an Exe
making a exe in java