Using inner class
Thursday, April 16, 2009 7:55:22 PM
Link: http://jajatips.blogspot.com/2009/04/using-inner-classes_6395.html
http://www.google.com/profiles/dooman87
Thursday, April 16, 2009 7:55:22 PM
Wednesday, April 1, 2009 3:58:36 AM
Знаете что я хочу? Я хочу сертификаты! Много разноцветных бумажек где будет написано насколько я крут! Вот! Начну в выходные с brainbeanch, первым тестом пожалуй будет Java 2 Fundamentals.
I think, that I begin in this weekend. First test will be Java 2 Fundamentals on brainbeanch.
Но, плохой результат тоже результат! Теперь понятно, в какую сторону копать, чтобы подготовиться, думаю через месяцок повторю...
Only 3.75 on Java 2 Fundamentals and 3 on J2EE. But bad result is result. Now I know what kind of questions I should prepare before test. I repeate these tests in next month, I think. I must work hardly if I want to get good marks!Monday, January 19, 2009 6:45:19 AM
Tuesday, December 16, 2008 9:13:19 AM
Thursday, November 20, 2008 11:47:20 AM
Tuesday, November 11, 2008 9:40:56 AM
Wednesday, October 22, 2008 7:22:25 PM
Monday, September 29, 2008 4:43:12 AM
, that you can read here: http://jajatips.blogspot.com/2008/09/connect-to-mysql-5-with-tomcat-6.html .Tuesday, September 16, 2008 7:36:20 AM
Сюда буду постить ссылки.Tuesday, March 11, 2008 10:32:22 AM
<style name="Arial_Normal" isDefault="true" fontName="Arial"
fontSize="8" isBold="false" isItalic="false"
isUnderline="false" isStrikeThrough="false"
pdfFontName="ArialBold.ttf" pdfEncoding="KOI8-R"
isPdfEmbedded="true"/>
public String generateReport() {
try {
//Коннектимя к БД.
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup("jdbc/mysql/testdb");
Connection con = ds.getConnection("login", "password");
//Заполняем отчет.
JasperPrint print = JasperFillManager.fillReport(
"/tmp/jasper_test.jasper",
new HashMap(), con
);
//Экспортируем отчет в pdf файл.
JasperExportManager.exportReportToPdfFile(print,
getServletContext().getRealPath("") +
"/JasperTest/report.pdf"
);
} catch (Exception e) {
return e.getMessage();
}
//Возвращаем линк на сгенерированный отчет
return getServletContext().getRealPath("")
+ "/JasperTest/report.pdf";
}
<?xml version="1.0"?>
<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN"
"http://jasperReports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport name="SimpleReport" columnCount="4" columnWidth="100">
<style name="Arial_Normal" isDefault="true" fontName="Arial"
fontSize="8" isBold="false" isItalic="false"
isUnderline="false" isStrikeThrough="false"
pdfFontName="ArialBold.ttf" pdfEncoding="KOI8-R"
isPdfEmbedded="true"/>
<queryString>
<![CDATA[select Name,Street,Phone,E_Mail from Companys]]>
</queryString>
<field name="Name" class="java.lang.String"/>
<field name="Street" class="java.lang.String"/>
<field name="Phone" class="java.lang.String"/>
<field name="E_Mail" class="java.lang.String"/>
<background>
<band height="745">
<image scaleImage="FillFrame" hAlign="Left" vAlign="Bottom">
<reportElement x="0" y="0" width="595" height="745"/>
<imageExpression>"/tmp/image.gif"</imageExpression>
</image>
</band>
</background>
<columnHeader>
<band height="25">
<staticText>
<reportElement x="0" y="0" height="20" width="84"/>
<text>Name</text>
</staticText>
<staticText>
<reportElement x="140" y="0" height="20" width="84"/>
<text>Street</text>
</staticText>
<staticText>
<reportElement x="280" y="0" height="20" width="84"/>
<text>Phone</text>
</staticText>
<staticText>
<reportElement x="420" y="0" height="20" width="84"/>
<text>Email</text>
</staticText>
<line>
<reportElement x="0" y="21" width="555" height="0"/>
</line>
</band>
</columnHeader>
<detail>
<band height="30">
<textField>
<reportElement x="0" y="0" width="69" height="24"/>
<textFieldExpression class="java.lang.String">
<![CDATA[$F{Name}]]>
</textFieldExpression>
</textField>
<textField>
<reportElement x="140" y="0" width="69" height="24"/>
<textFieldExpression class="java.lang.String">
<![CDATA[$F{Street}]]>
</textFieldExpression>
</textField>
<textField>
<reportElement x="280" y="0" width="69" height="24"/>
<textFieldExpression class="java.lang.String">
<![CDATA[$F{Phone}]]>
</textFieldExpression>
</textField>
<textField>
<reportElement x="420" y="0" width="69" height="24"/>
<textFieldExpression class="java.lang.String">
<![CDATA[$F{E_Mail}]]>
</textFieldExpression>
</textField>
</band>
</detail>
</jasperReport>

For initialize (import dictionaries, create system users and roles, etc) our system we use quartz. But yesterday when I created new job, I see that my new job depends on other jobs. I don't understood how I can create dependencies over jobs and I think that dependencies in jobs is ugly solution. ...
Hi! We use bamboo(v.3) for supports continuum integration in our project and mercurial as control version system. We wrote some core functions for the project and now should test it. Testers want to see what's new we do in new build. For this reason developers should wrote changelog for new bui ...
Alfresco release new version of their ECM - 3.4.e. Major feature of this release is integration with activiti BPM platform. That's a good news, because JBPM 3 is obsolete. Of course, I try to use it and have some problems ;) In our projects we use WorkflowService to control business processes. T ...
Alfresco release new version of their ECM - 3.4.e. Major feature of this release is integration with activiti BPM platform. That's a good news, because JBPM 3 is obsolete. Of course, I try to use it and have some problems ;) In our projects we use WorkflowService to control business processes. T ...