#
备受关注的《Quack 4》已经上市.
vc:http://lib.verycd.com/2005/10/19/0000070259.html
最低配置:
操作系统:Windows 2000/XP
CPU:Pentium 4 2.0 GHz 或 Athlon XP 2000+
内存:512MB
光驱:8x CD-ROM
硬盘:400MB空闲空间
DirectX版本:DirectX 9.0
显卡:显存64MB以上,支持DirectX 9.0的3D显卡,ATi Radeon 9700 或nVIDIA GeForce 3 / TI系列
看来要准备升级老古董了, 也可以享受HDTV。
重做日志记录着数据库的变化情况, 在archivelog模式下, 当重做日志写满时, 会转移到归档日志, 而在noarchivelog模式下, 重做日志会被覆盖.
查看重做日志
col member format a40
select * from v$logfile; 增加日志成员
alter database add logfile member 'c:\ORADATA\TESTDB\REDO01_2.LOG' to group 1, 'c:\ORADATA\TESTDB\REDO02_2.LOG' to group 2, 'c:\ORADATA\TESTDB\REDO03_2.LOG' to group 3; 重做日志不必备份,重建方法
startup mount;
recover databse until cancel;
alter database open resetlogs;
requires jar:
commons-email-1.0.jar, mail.jar, activation.jar 1. send text mail
SimpleEmail email = new SimpleEmail();
email.setHostName("211.154.104.29");
email.setAuthentication("water@itorgan.com", password);
email.addTo("waterye@gmail.com", "Water Ye");
email.setFrom("water@itorgan.com", "Water Ye");
email.setSubject("Test message");
email.setMsg("This is a simple test of commons-email");
email.send(); 中文问题:
// email.setMsg("测试邮件");
email.setCharset("UTF-8");
email.setContent("测试邮件", "text/plain;charset=GBK"); SimpleEmail封得太过简单, 看代码就知道了.
2. Sending email with attachments
// Create the attachment
EmailAttachment attachment = new EmailAttachment();
attachment.setPath("C:/mail/hello.groovy");
attachment.setDisposition(EmailAttachment.ATTACHMENT);
attachment.setDescription("hello.groovy");
attachment.setName("hello.groovy");
// Create the email message
MultiPartEmail email = new MultiPartEmail();
email.setHostName("211.154.104.29");
email.setAuthentication("water@itorgan.com", password);
email.addTo("waterye@gmail.com", "Water Ye");
email.setFrom("water@itorgan.com", "Water Ye");
email.setSubject("hello groovy");
email.setMsg("groovy hello world");
email.attach(attachment); // add the attachment
email.send(); // send the email 3. send html email
// Create the email message
HtmlEmail email = new HtmlEmail();
email.setHostName("211.154.104.29");
email.setAuthentication("water@itorgan.com", password);
email.addTo("waterye@gmail.com", "Water Ye");
email.setFrom("water@itorgan.com", "Water Ye");
email.setSubject("Test email with inline image");
// embed the image and get the content id
URL url = new URL("http://www.itorgan.com/images/index/top1.gif");
String cid = email.embed(url, "Itorgan logo");
email.setHtmlMsg("<html>The itorgan logo - <img src=\"cid:" + cid + "\"></html>"); // set the html message
email.setTextMsg("Your email client does not support HTML messages"); // set the alternative message
email.send(); martin xus已写过, 就不发布到首页了
1. Intellij IDEA
只有smart code, 对managed bean无效
Using MyFaces in IntelliJ IDEA2. EXADEL STUDIO Pro 3.0.4 (eclipse plugin):
缺点:
1). 商业产品
2). 对pc性能要求较高
3). 会生成垃圾代码
优点:
1). gui desinger
User Guide3. JDeveloper
除非选择adf, 否则不会使用
4. Sun Java Studio Creator
不考虑使用
1. Open: Internet Options --> Content --> AutoComplete
2. Click button: 'Clear Forms' and 'Clear Passwords'
Oracle 10g 增加回收站功能
错误drop table后可以flashback回来
SQL> flashback table test to before drop;
Seam is an application framework for Java EE 5 which unifies the component models of JSF and EJB 3.0, providing a streamlined programming model for web-based enterprise applications. Seam lets you bind your EJB components directly to JSF pages, eliminating noisy glue code.
下载jboss-seam-1.0beta1.zip后, 将里面的sample deploy到jboss-4.0.3RC2, 不成功.
因为很少玩jboss, 还以为是自己的deploy有问题, 搞了一天, 原来是jboss-4.0.3RC2不支持Seam.
在jira上找到了解决方法:
http://jira.jboss.com/jira/browse/JBSEAM-82结论: Open Source的东西, 出问题时, 找jira就没错.