本文发表在 rolia.net 枫下论坛1)stack extend linkedlist {
private list = new LinkedList();
public void push(object o) {
list.add(o);
}
public object pop() {
return list.removeLast();
}
}
If that was to ask memory management concept in general, that would be too many topic to cover.
Such as the difference between implementing stack in linkedlist and array in terms of memory management. Seting heap size by
xms/xmx/perm/maxperm, different type of jvm (classic/server/hotspot), use profiling tools to diagnose memory leak and/or inefficient memory usage,
memory usage tricks, garbage collection timing, use of finalize method etc. That's too huge topic.
2)not exactly sure what do you mean by compare a array, what about b-tree? compare what to what?
3)cluster and load balancing http://e-docs.bea.com/wls/docs70/cluster/overview.html#1003768
4)this is not a yes-no questions. I think they are just trying to see how much you know about all sorts of servers. Some popular
ones are oc4j, websphere, weblogic. For exmaple, websphere is powerful to handle different version of classes use its confusing
and powerful classloader and it has its own jvm. WEblogic use sun's jvm and doesn't have much choices for class loader. OC4j
has some different settings for SOAP descriptor comparing with other servers. WEblogic is buggy in older version, it doesn't even
fully support J2EE spec. Size of jsp page matters in some server. WEblogic use thread pooling which might be an issue for some apps in terms of memory management blah,
blah, blah... It's all about how much practical experience you have. I am assuming you are looking for a development role.更多精彩文章及讨论,请光临枫下论坛 rolia.net
private list = new LinkedList();
public void push(object o) {
list.add(o);
}
public object pop() {
return list.removeLast();
}
}
If that was to ask memory management concept in general, that would be too many topic to cover.
Such as the difference between implementing stack in linkedlist and array in terms of memory management. Seting heap size by
xms/xmx/perm/maxperm, different type of jvm (classic/server/hotspot), use profiling tools to diagnose memory leak and/or inefficient memory usage,
memory usage tricks, garbage collection timing, use of finalize method etc. That's too huge topic.
2)not exactly sure what do you mean by compare a array, what about b-tree? compare what to what?
3)cluster and load balancing http://e-docs.bea.com/wls/docs70/cluster/overview.html#1003768
4)this is not a yes-no questions. I think they are just trying to see how much you know about all sorts of servers. Some popular
ones are oc4j, websphere, weblogic. For exmaple, websphere is powerful to handle different version of classes use its confusing
and powerful classloader and it has its own jvm. WEblogic use sun's jvm and doesn't have much choices for class loader. OC4j
has some different settings for SOAP descriptor comparing with other servers. WEblogic is buggy in older version, it doesn't even
fully support J2EE spec. Size of jsp page matters in some server. WEblogic use thread pooling which might be an issue for some apps in terms of memory management blah,
blah, blah... It's all about how much practical experience you have. I am assuming you are looking for a development role.更多精彩文章及讨论,请光临枫下论坛 rolia.net