posts - 84,  comments - 54,  trackbacks - 0
================
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 阅读(263) | 评论 (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 阅读(160) | 评论 (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 阅读(139) | 评论 (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 阅读(119) | 评论 (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 阅读(145) | 评论 (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 阅读(196) | 评论 (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 阅读(150) | 评论 (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 阅读(115) | 评论 (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 阅读(134) | 评论 (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 阅读(101) | 评论 (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 阅读(130) | 评论 (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 阅读(174) | 评论 (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 阅读(1360) | 评论 (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 阅读(741) | 评论 (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 阅读(660) | 评论 (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 阅读(308) | 评论 (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.blogjava.net/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 阅读(767) | 评论 (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 阅读(274) | 评论 (0)编辑 收藏
        一般设置setDomainEnv.cmd文件当中的参数,从以下几方面来修改
        1、设置jdk参数,一般为sun,或者jrockit
        2、设置产品模式,或者开发模式。
        3、设置jvm内存参数。
        4、设置垃圾回收机制。
        5、设置cpu内核数。
        6、设置服务器处理线程数。

        
posted @ 2009-06-12 10:14 JavaCoffe 阅读(274) | 评论 (0)编辑 收藏
仅列出标题
共5页: 上一页 1 2 3 4 5 下一页 
<2024年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

常用链接

留言簿(5)

随笔分类(80)

收藏夹(1)

最新随笔

积分与排名

  • 积分 - 57540
  • 排名 - 898

最新评论

阅读排行榜