Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB jars to EXE

 
Chirag Jakharia
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These clients will be given the whole EJB Application

Where the clients going to run the exe (Converted from EJB) ? :roll:
 
Chirag Jakharia
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Havent used it but may be it will help
http://www.semdesigns.com/Products/Obfuscators/JavaObfuscator.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic