Click here to Skip to main content
14,733,866 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everybody I need help in the following 3 issues:

1. For my project, I am building an online recruiting system for graduates and employees. Since I am familiar with C/C++ and Java only, I chose Java in Netbeans. I built an applet and i used to compile it using the run file command. It took the existing data from a text file and i worked fine when i ran it from Netbeans. This has to be available on the web, so i thought i'll embed the applet in a html file. Once i tried to do that it started giving me the (read) error! So i tried using the policy tool, i had used the policy tool earlier when i used command prompt and notepad but now with netbeans it was the first try and i haven't been able to figure it out yet. It is still giving me a file read error. But the strange part is that there is no error when i run it through netbeans. What java.policy file should i edit? the one in the project folder or the one in the user directory?

2. Is there any way to make an applet/JFrame built in netbeans disributable? That is on a computer i can just load some files and run it. Because loading a jar file is messy. You have to install jdk to run that. Like for noobs, can't we just give them the project in a rar file and they can just unzip it and start deploying it?

3. Is there a better way then simply reading from files? Like if i have to make it distributable, will i have to set the policy entries in each computer? Does using JDBC/ODBC also require granting permissions in the policy. And if there is a better way than just text files, please do tell me!

Any help would be grateful!


1 solution

I suggest you to work with shine enterprise pattern

it has Jshooter you can use it for distribution
i has a util package that has lots of class for doing all job u thing
for working with file ,browsing and ...

also it has jconnection that makes working with jdbc and hibernate more easy

u can download it's library and document here :[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900