article
Java Plug-in
Today I have found interesting articles about java framework developing.
The first link is an implementation of opensource java plugin framework:
http://jpf.sourceforge.net/about.html
The next one article is an example of develop java plug-in from scratch. Form me this link is the best way to use a plug-in architecture in your application
http://twit88.com/blog/2007/10/07/develop-a-java-plugin-framework/
The last article explain how to read a xml configuration file in easy way:
http://twit88.com/blog/2007/09/18/xml-configuration-for-java-program/
Configure Windows Mobile Emulator to connect internet
A typical problem about windows mobile emulator is the internet configuration.
The first steps are to install the emulator
Install device emulator to manage the images:
Standalone Device Emulator 1.0 with Windows Mobile OS Images
Choice which images do you want, 6 or 5:
First PLSQL procedure
Connect to sqlplus
insert this code to sql shell:
CREATE OR REPLACE procedure giorgio(var in varchar2) is
contenent number(20);
BEGIN
select test_id into contenent from test where test_id= var;
dbms_output.put_line(contenent);
END;
/
now try to execute the your first procedure:
sql>set serveroutput
sql>exec giorgio()
Loop in PLSQL
A easy example to implement a loop into plsql procedure
declare
pippo number(38);
begin
pippo:=0;
loop
insert into test32 values (pippo);
pippo:=pippo+1;
if pippo=4 then
exit;
end if;
end loop;
end;
/
Configure apache to access only from defined IP
Configure the httpd.conf file to allow the access only to defined ip
<Directory "H:\ORACLE\iSuites3\Apache\Apache\htdocs\Antivirus">
Order allow,deny
allow from 143.225.0.0/225.225.0.0
</Directory>
