================
say:people always use say
read: read books , read in mind
-------------------------------
see spot run
------------------------------
pet:animal we keep it at house,we look after them.
street animal: the owner give it up,abandom,leave it on the street.
wild animal:
captive animal: not pet, look after by humans
poison, trap:slap them,
mouse, two mice , you can raise a cat to catch mice.
dog,rescue dog, guide dog lead blink
guinea pig
chick is a baby chichen.
duckling is a baby duck.
lizard:
hole a hole on the key
mice live in the hole.
house train:
don't let the pet mass the house up.
walk the dog
answer the dog's nature call.
take a bath or shower/ or lip themself.
dog groomer,
women always go to hair saloon
man usually go to barber
pet shop:
it sells goods that pet needs,like pet foods ,clothes,medicine
tub
veterinarian
doctor for pets.
---------------------------
grammar focus: consequence of words
---------------------------
if you don't walk the dog, it will get restless.
don't forget to feed your pet, or else it will die.
if you don't shower every day, you will become stink/smell.
language point:
his bark is worse than his bite.
when someone looks or acts tough,but really has a soft personality,you can say,........
what animal is he compared with?
-------------------
dialogue: advice on pets
--------------------
turtle : live in the water.
tortoise: live on the land.
what do you feed to you pets.
fish tank: aquarium.
sum laum: produce light and heat.
just make sure the turtle has a dry place to rest,or that its shell could rot.
---------------------
pets are extremmly common in the US,and children are often grow up alongside a family pet, for whom they develop emotional attachments.
there are organizations that are dedicated to rescuing pets who are abused by their owners.
there are even "pet psychics" who specialize in communicating with animals.
posted @
2010-04-02 21:20 JavaCoffe 閱讀(265) |
評論 (0) |
編輯 收藏
religious
muslim,Islam
sb is muslim, he follow islam.
christian,christianity
sb is christian , he follow christianity.
------------------------------
i don't order room service
------------------------------
i stay in a hotel ........when i travel............
my company pay for my........
stay: it means temporary.
i can't finish my work in oneday, so, i have to stay in hotel over night.
give personal information checkin person(clerk).
standard room,
double room (twins room)
triple
suite(sound the same like sweet)
lobby:first floor, front door of the hotel
critical,critical room , means center system of a company , it awalys has sb in it.24h.
wake up call:
guarant to wake you up.
room service: only contain food and drinks
housekeeping:
maid will clear you room, change your sheet every time, it's a standard service and free.
you may hang a sign(do not disturb) on the door.
--------------------------
grammer focus
propositions,use conntect words
--------------------------
i have a reservation for three nights, under james barclay.
put it on bill,(awalys contain extra service)
get through the exam.
get across city,blocks
motel is motor hotel, which is a kind of lodging.
----------------
dialogue: taking to the front dest
---------------
in:general time
at: certain time,specific
could you send a maid with some fresh towels.
we had a bit of an accident earlier.
(spill some milk,broke cups)
--------------
culture point:tipping
--------------
in west, it is customery to tip bellboys and doorman in hotels for carrying the luggage.
if you stay at a hotel for an extended period, it is also customary to leave a tip to the maid.
posted @
2010-03-29 21:08 JavaCoffe 閱讀(163) |
評論 (0) |
編輯 收藏
before class
university of california at_______
california state college at_______
community college.
eg.university of california at... it aways need you have high SAT or GRE score to apply these school.
and they will do some research.
the second kind of school always public schools. every state have it's own school.
the last ,community college, it's only need 2 year to get the degree,and it's price it's low, after 2 year you could
apply better university.
----------
can i use my card here
----------
money and credit
verbs,deposite money, withdraw money
check , write numbers and words on that
maybe you will get bounce check.
eg. i put some money on my credit card
i charge late fee to your card.
i swipe card.
some debit card have loan future/function
30 day free interest
-----
grammar focus: using voice for emphasis
------
she spends a lot of money on clothes and she puts all of her purchases on her store on her store cards and credit cards.
do you take plastic cards.
i got rid of use my credit card as they were too tempting and i was worried i would get into trouble.
posted @
2010-03-25 21:57 JavaCoffe 閱讀(142) |
評論 (0) |
編輯 收藏
i like traveling/to travel.
dessert/desert: i like to eat dessert.
local food/ snack
i ate some taiwan local food /snack food.
black pearl milk tea.
gift
homeland/hometown
i live in dalian next to the ocean.
last week i went to taiwan for a vacation.
she likes eating,traveling and reading books.
===========before the class==============
red envelope
in the wedding or birthday,guest always give the host red envelope.
gag gift
gift certificate
gift card
You can buy anything you want that costs less than ¥200
greeting card:
it's a card that write something on it such as:Get well soon
gift tag: a small tag
gift registry:
it's a list make by bride or groom which list all present they want to buy and sent it to their friend.
then their friend can choose which present they want buy for the bride and groom.
gift basket
E-card
cash
handmade-gifts
grammar focus:obligations
needn't have +done (past particple)
didn't have/need to do
you needn't have finished the whole task today, you just need finish in this week.
didn't have/need to do
you didn't need to lie for me
if someone thinks he is the best person in the world for somthing, we can say that
"he thinks he's God's gifts to man"
if someone is a doctor ,he thinks he is the best doctor in the world.we can say that
"he thinks he's God's gifts to medicine."
a blow up doll
he is earning six figures.
he bought me a all expense paid trip to Hawaii last year.
i bought him a blow up doll and taped a picture of his ex-girlfriend to it.
while i was in Hawaii, he hooked up with my girlfriend.
comfort my little dog.
puppy
hush puppies
--------
culture point:Gifts in the west
--------
posted @
2010-03-23 22:49 JavaCoffe 閱讀(139) |
評論 (0) |
編輯 收藏
preview
rock:
rock and roll
-----------------------
music and mood
----------------------
listen music on radio/mp3/computer
rock music: it since 1950,before that ,it didn't have rock music.
R&B(rhythm and blue)
Jazz: saxophone bass.
Pop:
Folk: similar with contrymusic(cowboy...)
classical:(symphony,violin)
ballad:
techno:
others: religious songs(buddhism,buddyhist)
korean,do you speak korean.
choice,
chose, have chosen
choose,
eg:
Listening to the jazz music makes her feel relaxed.
cold temperature make me stay at home.
chaos:
it means disorder,disoragan
earthquake makes people don't know where to go.
in English , a song is sometimes called a tune,to "carry a tune" does not mean to hold a song in your hands.
it's a way of saying "to sing".
psychology,
.acquaintance
we are only casual acquaintance.
strange,odd,weird friend.
cancer,
concert: the musicians play in front of you.
compliment the mood or change the mood.
posted @
2010-03-19 21:43 JavaCoffe 閱讀(147) |
評論 (0) |
編輯 收藏
He is not my type
(we also say we didn't click.)
---------------------------------------------------------
work over time
personality,characteristic(usually we use the former one)
<<pride and prejudice>>
---------------------------------------------------------
arrogant<->modest
arrogant means somebody always said how great he /she is before others.
stubborn<->easygoing
someone who is talktive/quiet
Horoscope
when two people with opposite personalitites get along well, we can describe it as "opposite attract".
this is usually used to explain why some people with opposite personalitites ends up in relationships together.
some westerners believe that their astrological sign-which is related to the month of their birthday-determines their personalities.
The Chinese have a familiar belief about the twelve zodiac animals .
posted @
2010-03-17 23:55 JavaCoffe 閱讀(198) |
評論 (0) |
編輯 收藏
in a interview
i used to ........................
i used to response...........
i used designed................
latitude
longitude
-----------------
eating out
-----------------
fast food ,junk food
it's contain too much fat ,oil, sugar,do not contain fresh vegetables.
buffet:
you need pay first in a fixed price , in that restaurant, there is many kinds of food put on many tables.
it has meat ,juice,barbecue,seafood,noodle,cookies,wine,icecream and so on。
you can eat all you can eat
bar and grill: beers and meat.
themed resturant:
emphasis it's style and culture
ex:equator,tropic restaurant,
seafood restaurant
Pizzaria
Bistro:
fine dining: it means invite chef to cook by himself.
casual dining:
coffe house:hang out with friends
macdonalds
franchise the restaurant.
posted @
2010-03-10 23:25 JavaCoffe 閱讀(151) |
評論 (0) |
編輯 收藏
first of all,you need speak slowly and say every words clearly.
planning
book tickets in advance(ahead)
check the weather
research on line
have an itinerary
saving money
Budget accommodation(make a plan for which hotel to stay ,what resturant to eat in a lower price)
Youth hostel
travel by train or car instead of airplane
use public transportation
cheap airplane tickets
stick with (stay with)your tour group
carry emergency phone numbers
Don't go anywhere alone
carry a money belt
have copies of your passport
if you travel in summer,you should pack sunscreen
you ought to get vaccinated if you're going to a developing country.
someone who has traveled to many different places around the world can be described as globetrotter.
A "trott" is a kind of slow jog that horses often do.
posted @
2010-03-08 23:02 JavaCoffe 閱讀(116) |
評論 (0) |
編輯 收藏
1、coordinate,cooperate
cooperate means descripe some one work togother.
play cards,
foosball(table-football)
billiards(pool, snooker)
party like it's 1999(it means ,when you are young,you have a lot of party)
throw a party(have a party)
may by hire band,musicians
invite guests
go to a party
bring a gift
RSVP(it means i need your confirm)
Describing a party
exciting,laid-back(relax),weird,awkward
up all night: i was up all night
bartender
it sounds blast
Tina showed up too(go to that party too)
obsesse with (focus on)
clumsy(means behaviors not very quikly)
fabulous
knock over
posted @
2010-03-07 22:28 JavaCoffe 閱讀(136) |
評論 (0) |
編輯 收藏
traffic circle
overpass
U-turn
Underpass
highway,motorway,expressway(freeway)
boulevard,drive,avenue
cross walk斑馬線
lefe turn lane,bicycle lane,side walk lane
do you often travel to tourist places or other citites in China
do you have good sense of direction?
posted @
2010-03-06 19:38 JavaCoffe 閱讀(106) |
評論 (0) |
編輯 收藏
raise family
settle down
commitment
reserve
security
eg:mortage payment can be less than rent.
the hardest part about buying is saving initial deposit.
therefore people buy to rent which means that they buy the house,decorate them in hopes they can
attracts
tenants who want to rent the apartment and live there.
the rent at least the amount of the mortage.
some landlord also set rents a little higher in order to have some excess cash to pay for any damages,
wear and tear,or breakages.
posted @
2010-03-05 00:16 JavaCoffe 閱讀(133) |
評論 (0) |
編輯 收藏
would you like to be a model?
voice coach
interior designer
landscape designer
fashion model
personal trainer
personal shopper && secrect shopper(for improve service)
buyer
game tester
movie extra:some actor is not major character,
toilet(bathroom)attendant:service in the bathroom,or clear the bathroom
stuntma:in some danger situation,the big star maybe don't to want to act by himeself ,
so use other people who looks like him.
defuse bomb& explore expert
army recruiter<top gun>
posted @
2010-03-04 23:23 JavaCoffe 閱讀(177) |
評論 (0) |
編輯 收藏
function dateDiff(interval, date1, date2)
{
var objInterval = {'D' : 1000 * 60 * 60 * 24, 'H' : 1000 * 60 * 60, 'M' : 1000 * 60, 'S' : 1000, 'T' : 1};
interval = interval.toUpperCase();
var dt1 = Date.parse(date1.replace(/-/g, '/'));
var dt2 = Date.parse(date2.replace(/-/g, '/'));
try
{
return Math.round((dt2 - dt1) / ('(objInterval.' + interval + ')'));
}
catch (e)
{
return e.message;
}
}
interval :D表示查詢精確到天數的之差
interval :H表示查詢精確到小時之差
interval :M表示查詢精確到分鐘之差
interval :S表示查詢精確到秒之差
interval :T表示查詢精確到毫秒之差
使用方法:
alert(dateDiff('D', '2007-4-1', '2007/04/19'));
posted @
2009-09-27 15:35 JavaCoffe 閱讀(1363) |
評論 (0) |
編輯 收藏
select deptno,job,avg(sal),max(sal) from emp group by rollup( deptno,job);
統計第一個維度的的總和。
select deptno,job,avg(sal),max(sal) from emp group by cube( deptno,job);
在統計第一個維度的基礎上,在統計第二個維度豎列的綜合。
select deptno,job,avg(sal),max(sal) ,grouping(deptno),grouping(job) from emp group by cube( deptno,job);
確定統計結果是否用到了特定的列。
select deptno,job,avg(sal),max(sal) from emp group by GROUPING SETS( deptno,job);
顯示多種分組統計的結果。
posted @
2009-06-23 17:27 JavaCoffe 閱讀(748) |
評論 (0) |
編輯 收藏
1、單行插入
insert into <tabler>[(column,[column,...])]values(value,[value,....])
使用default 插入數據,在values當中使用default會插入默認值,或者NULL
2、使用字查詢插入數據。
INSERT INTO <TABLE> subquery.
INSERT ALL insert_into_clause [value clause]subquery
INSERT conditional_insert_clause subquery
insert all
when deptno = 10 then into dept10
when deptno = 20 then into dept20
else into others
select * from emp;
INSERT FIRST(如果先前的數據已經被使用過,那么在后續當中則不會再使用這些數據)
when deptno = 10 then into dept10
when deptno = 20 then into dept20
else into others
select * from emp;
另外提供create table as subquery;
posted @
2009-06-23 11:37 JavaCoffe 閱讀(664) |
評論 (0) |
編輯 收藏
一、增加AJAX特征,開 發人員可以輕松地在程序中應用Ajax,甚至不需要學習JavaScript;并且將遠離單獨使用Ajax時潛在的bugs和性能問題。
二、開始使用EJB 3.0的最簡單方式 EJB 3.0是成熟的事務組件模型,也是最新JPA(Java持久層API)關注的技術,但支持EJB 3.0的Java Web應用框架卻很少。你可以無處不在地使用整合的EJB 3.0組件模型。
三、充分挖掘JSF特性的最佳方式,JSF沒有涉及訪問事務資源,Seam考慮到了這一點,將JTA、JPA和EJB 3.0與JSF無縫地整合起來。
四、實現業務流程管理(BPM)的最簡單方式。Seam深度整合了jBPM,使用jBPM進行任務管理和頁面流管理將變得異常簡單。
五、使得CRUD同樣簡單 Seam也同樣處理復雜企業應用中的棘手問題。
六、持久層工作將是”小菜一碟”。無論你是使用Hibernate還是JPA,Seam使用擴展的持久化上下文都將使開發變成簡單。
七、注釋功能 Seam是第一個從始至終、從持久層到表示層,都使用Java 5注釋功能的程序模型。
八、Seam引入了一種新方式:”自動化集成測試”。你可以模擬每個請求或者會話的全部業務流,來測試應用中從持久層到表示層的所有Java代碼。
九、開放性標準與開源的結合 Seam建立在實現開放標準的、像JSF和 EJB 3.0這樣的開源項目基礎上
posted @
2009-06-22 13:38 JavaCoffe 閱讀(312) |
評論 (0) |
編輯 收藏
1、單例模式(singleton)
2、工廠模式(factory)
3、代理模式(proxy)
4、門面模式(facade)
5、命令模式(command)
6、享元模式(fly weight)
posted @
2009-06-19 11:45 JavaCoffe 閱讀(179) |
評論 (0) |
編輯 收藏
摘要: 原文地址:
http://www.tkk7.com/Werther/archive/2009/06/18/283091.html
Hibernate在解決性能問題方面做得非常好。有了它的緩存機制,使用第三方緩存和數據庫連接池,就較好的解決的性能問題。但這些還不夠,hibernate給了開發者足夠的自由,讓開發者自己去控制性能問題。
學習了一段時間的ibatis,我覺得hibernate有著ibatis無法替代的優勢。
1、開發者都知道,hibernate讓我們以oo的方式操作數據庫,這讓我們看到了hibernate的強大之處,體驗到操作數據的方便。但Gavin King說,hibernate最耀眼之處是hibernate的緩存機制,而不是以oo的方式操作數據庫。Hibernate的緩存機制不外乎是一級緩存session,二級緩存sessionFactory,和第三方緩存如ehcache.也就是hibernate的最強大的地方是它的緩存,理解了這個才能真正的理解hibernate.緩存實在太難了,我
閱讀全文
posted @
2009-06-19 10:09 JavaCoffe 閱讀(776) |
評論 (0) |
編輯 收藏
主要歸結為3點
1、spring expression language
可以在程序當中配合java的annotation使得原本在xml當中配置的方式在。
2、spring rest
大大擴展了spring的web服務功能。
3、spring boo
是一個復雜的代碼生成器,使用spring快速的開發java應用程序。
posted @
2009-06-15 16:06 JavaCoffe 閱讀(275) |
評論 (0) |
編輯 收藏
一般設置setDomainEnv.cmd文件當中的參數,從以下幾方面來修改
1、設置jdk參數,一般為sun,或者jrockit
2、設置產品模式,或者開發模式。
3、設置jvm內存參數。
4、設置垃圾回收機制。
5、設置cpu內核數。
6、設置服務器處理線程數。
posted @
2009-06-12 10:14 JavaCoffe 閱讀(278) |
評論 (0) |
編輯 收藏