由买买提看人间百态

topics

全部话题 - 话题: xstream
(共0页)
y***m
发帖数: 7027
1
来自主题: Java版 - 试着比较 JAXB/StAX/XStream/SAX
JAXB XStream 类似,封装好,简单调用, code简洁,可以对象关联,把xml子对象放
到集
合,适合较复杂的后期处理,load到内存吧。不知哪个性能好些
SAX 手工活多,code比较臃肿,游标操作。
超大xml如几个GB的 SAX 性能,内存方面可能更好,或者 JAXB XStream + 游标/分段
读出
请赐教, thx!
a****i
发帖数: 1182
2
来自主题: Java版 - Web service framework choice?
xstream and jersey (or any JAX-RS) should be fine
t*******e
发帖数: 684
3
POJO和container没有直接的关系。用POJO目的是减少或消除对technology-specific
API的依赖。比如Spring Beans一般不用import org.springframework.*packages。但
并不是说这些beans不再需要container提供的services。
Spring之后的技术或多或少都有POJO的概念。包括EJB3,data model in JPA/
Hibernate/JDO, JAXB, XStream, Hibernate Search, Servlet3.0, Drools, Camel等
等。相对的,如果data model不POJO, 就会被认为是low level API,还需要加
abstraction layer, 比如Hadoop API。
t*******e
发帖数: 684
4
json document在serverside也是map成POJO。Jackson就是干这个的,和JAXB,Xstream
没什么不同。没有谁会一路用string处理json document的。

单。
b******y
发帖数: 9224
5
来自主题: Java版 - 试着比较 JAXB/StAX/XStream/SAX
JAXB 不清楚,但SAX非常灵活,不需要占内存。
x****d
发帖数: 1766
6
来自主题: Programming版 - web service
I would recommend restlet for beginning in Java, you don't need a server to
deploy, you write up your own server, very simple. client side you can use
java or jquery, or rest shell.
but implementing one restful webservice is too simple, it is kind of
irrelevant with understanding web services, either restful or soap. as
bigcow said above.
doing restful services is very different with design rest api, you can do it
, doesn't mean you can design it.
I am kind of agree with zhaoce, doing web servic... 阅读全帖
t**********s
发帖数: 930
7
只找到了一个 catalina.properties:
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unles... 阅读全帖
A******y
发帖数: 2041
8
来自主题: Biology版 - 请推荐好的PIPETTE。
eppendorf xstream
w********e
发帖数: 21
9
Eppendorf Repeater® Xstream
(共0页)