Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » 技术文章库  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 [个人原创]工作中常用的J2EE技术
jerryjerry123





发贴: 58
积分: 12
于 2005-05-15 20:19 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我是一名J2EE程序员,自己觉得对J2EE比较有经验:-)
我觉得要学习J2EE, 能找到一份好工作,掌握以下的技术要点是必须的:
(1) Java Basic syntax
(2) Memory manage in Java: 知道如何申请空间和释放空间
(3) JDBC: 知道如何访问数据库
(4) JSP: JSP在工作中最常用
(5) Servlet: JSP执行前是被翻译成Servlet,所以基本Servlet知识也是必须的

学习知识是为了工作,学习的最后方式也是在工作中学习,但是如何你不会,人家又会不雇用你,这是一个矛盾。

所以,我们必须自我学习上面的基本知识,以通过面试。

自我学习最好是找一本最简单的书,根据例子从粗到细耐心的学。

大家希望找些关于Java内存管理的资料,我想在绝大部分Java书籍中都会有简单介绍,但都可能不够深入。我个人觉得了解Java内存管理特别重要。所以我在这里作介绍一些点,我是从一个DevPartner Java™ Edition培训上学来的(那个培训对我影响深刻),希望对大家有用。

New Memory Problems in Java
1. Temporary Objects
The GC works harder when objects are constantly being allocated, used for a short time and then unreferenced
For each object creation the following occurs:
*Memory is allocated on the heap
*Class constructors are called
*Fields are initialized
*The state of the object is tracked
Creating many short-lived objects is a common performance bottleneck on the Java platform
Temporary Objects
*Medium and Short lived objects
*Survive less than 2 garbage collections
String concatenation example…
String objects are immutable
Once created, cannot be changed
String abc = “a” + b + “c”;
Translates to –
String abc = new Stringbuffer().append(“a”)
         .appendBeer
             .append(“c”)
             .toString();
Two new objects are created
one StringBuffer and one String

String result = “”;
For (int i=0; i < 20; i++) {
  result += getNextString();
}

Better coded as:

String result = “”;
StringBuffer buffer = new StringBuffer();
For (int i=0; i < 20; i++) {
  buffer.append(getNextString())
}
Result = buffer.toString();

2. Java Memory Leaks

3. Memory Footprint

具体资料,大家可以查询www.compuware.com
我的理解是这个Java工具软件公司为了提供给Java开发者好的工具,所以对Java内存管理的日常问题和我们编程中常犯的内存错误进行研究,希望大家喜欢。


jerryjerry123 edited on 2005-05-21 21:57

作者 Re:[个人原创]工作中常用的J2EE技术 [Re:jerryjerry123]
ftang



版主


发贴: 214
积分: 38
于 2005-05-16 09:22 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
I think as a J2EE developer, you first have to be a Java Developer. Using Servlet/JSP/EJB is nothing...until you understand how application server works like JTA, JNDI, JDBC...when I say know how to works means you know every step how application server do...then you can be a J2EE developer...I saw too much J2EE developer only know JSP/Servlet...useless.


作者 Re:[个人原创]工作中常用的J2EE技术 [Re:jerryjerry123]
javadd





发贴: 736
积分: 77
于 2005-05-18 11:00 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
如何申请空间和释放空间应该看什么资料?



作者 Re:[个人原创]工作中常用的J2EE技术 [Re:ftang]
airport





发贴: 5
积分: 0
于 2005-05-20 08:45 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
ftang wrote:
I think as a J2EE developer, you first have to be a Java Developer. Using Servlet/JSP/EJB is nothing...until you understand how application server works like JTA, JNDI, JDBC...when I say know how to works means you know every step how application server do...then you can be a J2EE developer...I saw too much J2EE developer only know JSP/Servlet...useless.


的确应该如你所说,Tounge
不过新手还是从jsp/servlet开始为好。否则因小失大,什么都不会了



水无鱼至清
作者 Re:[个人原创]工作中常用的J2EE技术 [Re:jerryjerry123]
jigsaw

KK

CJSDN高级会员


发贴: 3666
积分: 93
于 2005-05-20 18:14 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
jerryjerry123显然是在灌水。。。。


No one knows except both of us.
909090909090909090909090909090909090909090b8533ce76c8d6c241868968a0408c338b4ffbf
ISO/IEC 9899:1999
作者 Re:[个人原创]工作中常用的J2EE技术 [Re:jerryjerry123]
hcom





发贴: 19
积分: 0
于 2005-05-21 20:23 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
如何申请空间和释放空间应该看什么资料?

同样的疑问



作者 Re:[个人原创]工作中常用的J2EE技术 [Re:jerryjerry123]
jerryjerry123





发贴: 58
积分: 12
于 2005-05-21 21:58 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
javaadd 和 hcom, 申请空间和释放空间应该看什么资料?我已在最上面更新了,希望对你们有帮助



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923