My project is about aglet. aglet is java technology with mobile agent. aglet(agent and aplet) is technology mobile agent concepts in programming. There is many advantages using mobile agent concepts, you can search in google because i don't explained in here.
Ok back to topic..
When we use aglet to connecting MySQL there is few steps like :
1. Make sure you have mysql-connector-java.jar. you can download in here
2. Place file mysql-connector-java.jar in lib directory of aglet. example : aglets\lib
3. Make connection in your aglet code to connection MySQL

If you have any questions you can ask here and if i know i try to answer as i can.
Hope this helpfull
">
When we use aglet to connecting MySQL there is few steps like :
1. Make sure you have mysql-connector-java.jar. you can download in here
2. Place file mysql-connector-java.jar in lib directory of aglet. example : aglets\lib
3. Make connection in your aglet code to connection MySQL
Class.forName("com.mysql.jdbc.Driver").newInstance();4. Then add code like below in .aglet\security\aglets.policy. Place that file in your user.home. example in my computer is c:\users\scy\.aglets\security\aglets.policygrant
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/cobadb","root","");
{5. Just compile your code and running in tahiti. it should be work
permission java.net.SocketPermission "localhost:3306", "listen,accept,connect,resolve";
};
If you have any questions you can ask here and if i know i try to answer as i can.
Hope this helpfull
4 comments:
hi i have questions about: Connecting servlet to aglet
pleass help me ....
what is your questions???
how to create the connection between servlet and aglets;
eg: servlet sending a message to aglets, and aglets receiving this message and send back at servlet.
and servlet sending parameterst to aglets.
please help meeeeee ................
hmmm...sorry i can't help because i don't know how to do that.
maybe you can search in forum that research about aglet more deeply
Post a Comment