Good IBM article
in riferimento a: Use Dojo's JsonRestStore with your REST services (visualizza su Google Sidewiki)mercoledì 29 dicembre 2010
domenica 12 dicembre 2010
Speech API
Web API for recognition on your site
in riferimento a: Speech API Demos (visualizza su Google Sidewiki)Create a Flash Speech Synthesizer
Good book on flash recognizition api's
in riferimento a:"Create a Flash Speech Synthesizer"
- Create a Flash Speech Synthesizer (visualizza su Google Sidewiki)
mercoledì 17 novembre 2010
PDF password set
<code type="java">
try {
PdfReader reader = new PdfReader("C:\\temp\\a.pdf");
PdfStamper stamper = new PdfStamper(reader,new
FileOutputStream("C:\\temp\\aEncrypted1.pdf"));
stamper.setEncryption(
"Ciao".getBytes(), "Mondo".getBytes(),
PdfWriter.AllowPrinting | PdfWriter.AllowCopy,
PdfWriter.STRENGTH40BITS);
stamper.close();
} catch(Exception e) {
}
</code>
domenica 14 novembre 2010
New Eclipse Plugin for cloud in Windows Azure
Create a php application in eclipse, ready for Windows Azure cloud platfrom
in riferimento a: Windows Azure Tools for Eclipse (visualizza su Google Sidewiki)mercoledì 3 novembre 2010
Determine Oracle DB Version
execute the following sql stmt :
select * from v$version where banner like 'Oracle%';
sabato 30 ottobre 2010
CMS Comparing
Testing most popular CMS these are thue results.
in riferimento a: Testing popular CMS and blogging systems » cip-labs (visualizza su Google Sidewiki)mercoledì 27 ottobre 2010
Future's IT Techonologies
An IBM survey has asked to developer communities.
These are the results :
http://www.ibm.com/developerworks/aboutdw/2010survey-results/index.html?cmp=dwfal&cpb=dw&ct=dwcom&cr=dwcom&ccy=zz
sabato 23 ottobre 2010
ZK,JQuery & J2EE
Ajax develpement by ZK tools and J2EE contanier.Good IBM tutorial.
in riferimento a: Enhance Ajax development with a fusion of jQuery, ZK, and Java code (visualizza su Google Sidewiki)sabato 16 ottobre 2010
JAMon
A tomcat monitoring webapplication, is a good alternative to lambda proe and jakarta jmeter.
in riferimento a: JAMon - Documentation (visualizza su Google Sidewiki)giovedì 14 ottobre 2010
Oracle Insert as select forcing a value for a column
<code type="SQL">
INSERT INTO RPTIMI_W
SELECT
CDIDEDIP,
CDAZIEND,
CDDIPEND,
-- Set value of column in a specified value,
to_number('201010' || SUBSTR(to_CHAR(CLTIMBRA),7,2)) as CLTIMBRA,
MTTIMBRA ,
CDVERSOT ,
CDLIDUSR ,
CDFUNZIO ,
FLPRODUZ ,
FLMANUAL ,
NRVERSIO ,
CDUSERID ,
CDLIVTIM FROM RPTIMI_w where CDDIPEND = 1 AND CLTIMBRA BETWEEN 20040301 AND 20040331
</code>
domenica 3 ottobre 2010
JSON oriented db
Mongo db is ajson oriented db for web 2.0 ajax application.
in riferimento a: MongoDB (visualizza su Google Sidewiki)sabato 25 settembre 2010
Generate 2D barcode and read it from you mobile phone.
Goto to http://zxing.appspot.com/generator/ generate your 2d QR code,
the image generated should be as follows
then from you mobile phone open url http://get.neoreader.com
and download reader for your mobile phone.
That's all.
Free On line QR Code Generator
On Appspot good online utlity for generating 2D barcode.
in riferimento a: QR Code Generator (visualizza su Google Sidewiki)venerdì 10 settembre 2010
Creare un archivio dati LDAP con il servizio directory ADAM (Active Directory Application Mode)
Good Microsft Article
in riferimento a:"Creare un archivio dati LDAP con il servizio directory ADAM (Active Directory Application Mode)"
- Creare un archivio dati LDAP con il servizio directory ADAM (Active Directory Application Mode) (visualizza su Google Sidewiki)
Eclipse LDAP Browser
Good plugin for eclipse for exploring ldap serves
in riferimento a: Apache Directory Studio - Installation in Eclipse (visualizza su Google Sidewiki)Good collection of ADAM vbscripts
Good collection of ADAM vbscript for readings ADAM configurations objects.
in riferimento a: Retrieving ADAM Objects using VBScript (visualizza su Google Sidewiki)Windows LDAP Service for free on windows
Good article on Devx, it's a step by step guide
on setup ADAM LDAP service
mercoledì 8 settembre 2010
LASTDAY FUNCTION
Using sintax similar as follows :
SELECT LAST_DAY(TO_DATE('20100908','YYYYMMDD')) FROM dual;
This is the output
venerdì 27 agosto 2010
Oracle vs Google over heavy use of java in Android
In April 2009 Oracle purchased Sun, and for the rest of story click on the link at the end of page.
in riferimento a: Oracle sues Google over use of Java in Android (visualizza su Google Sidewiki)Apache Armony - Open Source Java SE
It's an open source java vm under Apache Licence v2 and includes all sources for different O.S. (Windows,Linux etc..etc...)
in riferimento a: Apache Harmony - Open Source Java Platform (visualizza su Google Sidewiki)giovedì 26 agosto 2010
Open Source Bluetooth classes for Java
BlueCove try to become java standard for bluetooh application.
in riferimento a: BlueCove - BlueCove JSR-82 project (visualizza su Google Sidewiki)venerdì 13 agosto 2010
HTML 5 new TAG
HTML evolution gives us two new tags for managing multimedia audio/video format on a web site.
in riferimento a: How HTML 5 Makes Using Audio and Video in Web Pages Easy (visualizza su Google Sidewiki)giovedì 12 agosto 2010
Multi thead accessing via java
public class ThreadIDMain extends Object implements Runnable {
private ThreadID var;
public ThreadIDMain(ThreadID var) {
this.var = var;
}
public void run() {
try {
print("var.getThreadID()=" + var.getThreadID());
Thread.sleep(2000);
print("var.getThreadID()=" + var.getThreadID());
} catch (InterruptedException x) {
}
}
private static void print(String msg) {
String name = Thread.currentThread().
System.out.println(name + ": " + msg);
}
public static void main(String[] args) {
ThreadID tid = new ThreadID();
ThreadIDMain shared = new ThreadIDMain(tid);
try {
Thread threadA = new Thread(shared, "threadA");
threadA.start();
Thread.sleep(500);
Thread threadB = new Thread(shared, "threadB");
threadB.start();
Thread.sleep(500);
Thread threadC = new Thread(shared, "threadC");
threadC.start();
} catch (InterruptedException x) {
}
}
}
class ThreadID extends ThreadLocal {
private int nextID;
public ThreadID() {
nextID = 10001;
}
private synchronized Integer getNewID() {
Integer id = new Integer(nextID);
nextID++;
return id;
}
// override ThreadLocal's version
protected Object initialValue() {
print("in initialValue()");
return getNewID();
}
public int getThreadID() {
Integer id = (Integer) get();
return id.intValue();
}
private static void print(String msg) {
String name = Thread.currentThread().
System.out.println(name + ": " + msg);
}
}
venerdì 4 giugno 2010
Retrieve java call Stack in 1.3 e 1.4+
to determine which programm is calling from.
Throwable e = new Throwable();
// In java 1.4+
// e.fillInStackTrace();
// StackTraceElement[] elements = e.getStackTrace();
// String callerClass=(elements.length > 1 ? elements[1].toString() : "(no caller)");
//
In java 1.3
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
String callerClass=sw.toString();
sabato 15 maggio 2010
venerdì 16 aprile 2010
Problem windowsupdate
net stop wuauserv
regsvr32 wuapi.dll
regsvr32 wuaueng.dll
regsvr32 wuaueng1.dll
regsvr32 wucltui.dll
regsvr32 wups.dll
regsvr32 wups2.dll
regsvr32 wuweb.dll
net start wuauserv
venerdì 12 febbraio 2010
Oracle How to determine existing objects in db oracle
How to determine existing objects in db oracle
select * FROM DBA_OBJECTS where OBJECT_NAME LIKE '%MYTABLE%'
martedì 2 febbraio 2010
Oracle JDBC parameter
Is possible passing other parameter to JDBC url.
Instead of "@host:port:sid" should be used complete tnsname such as :
"jdbc:oracle:thin:@(
"(ADDRESS_LIST=" +
"(ADDRESS=(PROTOCOL=TCP)" +
"(HOST=host)" + =
"(PORT=port)" +
")" +
")" +
"(CONNECT_DATA=" +
"(SERVICE_NAME=sid)" +
"(SERVER=DEDICATED)" +
")" +
")"
""jdbc:oracle:thin:@(DESCRIPTION=" + "(ADDRESS_LIST=" + "(ADDRESS=(PROTOCOL=TCP)" + "(HOST=host)" + = "(PORT=port)" + ")" + ")" + "(CONNECT_DATA=" + "(SERVICE_NAME=sid)" + "(SERVER=DEDICATED)" + ")" + ")""
- Oracle JDBC database connection problem (visualizza su Google Sidewiki)
mercoledì 20 gennaio 2010
Oracle counting opened cursor
select sid, count(*) from V$OPEN_CURSOR group by sid having count(*) > 40 ORDER BY count(*) desc;
The result :
Is used to monitoring ORA-01000 Maximum cursor exceeded.
domenica 3 gennaio 2010
Java Opensource job scheduler by TERRACOTTA
Good java scheduler includes many enterprise-class features, such as JTA transactions and clustering.
in riferimento a:"The Quartz Scheduler includes many enterprise-class features, such as JTA transactions and clustering."
- Quartz Scheduler - Home (visualizza su Google Sidewiki)
EHCACHE for JAVA
is a good Java Cashing solution.
in riferimento a: Ehcache - Performance At Any Scale (visualizza su Google Sidewiki)