In the following image you can see equivalent of Gang of Four notations in UML. this is very useful for reader of GOF book.
have a nice time.
In the following link Google offer a specification that allows for dynamically created content in the AJAX web application (like GWT application) to be visible to search engine crawlers. Google announce that currently supports this agreement.
http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html
I am very happy now because i think i use my hardware efficiently compare to past that i was on Windows. At last i select Ubuntu from different Linux distribution.$ chmod +x yourfile.bine.g# chmod +x jdk-6u14-linux-i586.bin
$ ./yourfile.bin
| Shortcuts | NetBeans | Eclipse |
| Next editor | Ctrl + Tab | Ctrl + F6 |
| Delete row | Ctrl + E | Ctrl + D |
| Organize imports | Ctrl + Shift + I | Ctrl + Shift + O |
| Quick fix | Alt + Enter | Ctrl + 1 |
| Open type | Ctrl + O | Ctrl + Shift +T |
| Run | F6 | Ctrl + F11 |
| Format code | Alt + Shift + F | Ctrl + Shift +F |
| Incremental search (like Firefox) | Ctrl + F | Ctrl + J |
| Open resource | Alt + Shift + O | Ctrl + Shift +R |
| Comment | Ctrl + / | Ctrl + / |
| Move line(s) up or down | Alt + Shift + Up/Down | Alt + Up/Down |
| Duplicate line(s) up or down | Ctrl + Shift + Up/Down | Ctrl + Alt + Up/Down |
| Go to line | Ctrl + G | Ctrl + L |
سایت plusdownload اولین نمونه از سایتهای فارسی زبانی است که با استفاده از آن می توانید نرم افزارهای رایگان و اپن سورس را دانلود کنید. نمونه های غیر فارسی این سایت از پیشتر در دنیای وب وجود داشتند (مانند : filehippo) اما خوبی این نمونه ایرانی در این که مسئولان این سایت هم ایرانی هستند و با مفهومی به نام تحریم آسنا هستند و می شود با آنها تامل کرد.
بلاخره پس از سالها یک شرکت توانست در بازارهای سهام آمریکا در بخش تکنولوژی بالاتر از شرکت Microsoft قرار بگیرد و سهم تسخیر بازار (market capture) خود را از غول بزرگ نرم افزاری بیشتر کند. حتما تا چند سال تنها شرکتی که سهام بازهای آمریکایی پتانسیل رقابت با مایکروسافت را در آن می دیدند گوگل بود اما حالا شرکت Apple با محصولات سخت افزاری محبوب و مشهور خود رتبه یک را از آن خود گرده است و به سلطنت چندین ساله مایکروسافت در بازار سهام آمریکا خاتمه داده است.| Company name | Symbol | Market cap | P/E ratio | Div yield (%) | 52w price change (%) | |
| Apple Inc. | AAPL | 230.53B | 21.50 | 0.00 | 100.18 | |
| Microsoft Corporation | MSFT | 227.86B | 13.44 | 2.00 | 32.00 | |
| International Business Machines Corp. | IBM | 162.08B | 12.29 | 2.09 | 22.21 | |
| Google Inc. | GOOG | 156.20B | 22.22 | 0.00 | 21.24 | |
| Cisco Systems, Inc. | CSCO | 135.18B | 20.06 | 0.00 | 30.22 | |
| Intel Corporation | INTC | 121.07B | 19.90 | 3.02 | 38.54 | |
| Oracle Corporation | ORCL | 113.33B | 20.18 | 0.90 | 19.03 | |
| Hewlett-Packard Company | HPQ | 110.08B |
در بعضی موارد شما بمنظور مونیتور کردن حافظه مصرف شده توسط یک برنامه جاوا در زمان اجرا، احتیاج دارید از میزان حافظه مصرف شده توسط JVM ، مقدار کل حافظه تخصیص داده شده به JVM و ... اطلاع داشته باشید.Runtime.getRuntime().freeMemory();Runtime.getRuntime().maxMemory();Runtime.getRuntime().totalMemory();
با استفاده از Distribute Build شما می توانید فرایند کامپایل برنامه GWT خود را برروی چندین ماشین پخش کنید و هر ماشین وظیفه کامپایل یک یا چند permutation را داشته باشد. java -cp ... com.google.gwt.dev.CompilePerms com.google.gwt.sample.hello.Hello \
-workDir work
-perms 0
java -cp ... com.google.gwt.dev.CompilePerms com.google.gwt.sample.hello.Hello \
-workDir work
-perms 1
java -cp ... com.google.gwt.dev.Link com.google.gwt.sample.hello.Hello \
-workDir work
-war www
-extra aux
package exceltest;
import java.io.FileOutputStream;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CreationHelper;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
/**
*
* @author Saeed Zarinfam
*/
public class Main {
public static void main(String[] args) {
Workbook wb = new HSSFWorkbook();
CreationHelper createHelper = wb.getCreationHelper();
Sheet sheet = wb.createSheet("new sheet");
// Create a row and put some cells in it. Rows are 0 based.
Row row = sheet.createRow((short) 0);
// Create a cell and put a value in it.
Cell cell = row.createCell(0);
cell.setCellValue(1);
// Or do it on one line.
row.createCell(1).setCellValue(1.2);
row.createCell(2).setCellValue(createHelper.createRichTextString("This is a string"));
row.createCell(3).setCellValue(true);
// Write the output to a file
FileOutputStream fileOut;
try {
fileOut = new FileOutputStream("workbook.xls");
wb.write(fileOut);
fileOut.close();
} catch (Exception ex) {
ex.printStackTrace();
}
}
}