﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>语源科技BlogJava-美丽的爪哇岛</title><link>http://www.blogjava.net/askcuix/</link><description>Keep Walking......</description><language>zh-cn</language><lastBuildDate>Tue, 28 Apr 2026 18:56:30 GMT</lastBuildDate><pubDate>Tue, 28 Apr 2026 18:56:30 GMT</pubDate><ttl>60</ttl><item><title>Android development with maven</title><link>http://www.blogjava.net/askcuix/archive/2011/03/07/345897.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Mon, 07 Mar 2011 10:44:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2011/03/07/345897.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/345897.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2011/03/07/345897.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/345897.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/345897.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在学习android的过程中，总是会不断的去构建项目并部署到模拟器上测试，千篇一律的操作让人有点烦躁，程序员总是有些懒惰的，平时的java项目中，我们一般都比较喜欢用maven来构建项目，为何不让android开发也能享受到这种自动化构建的好处呢，因此尝试将maven引入android开发中来。 <br><br>Android应用运行在Dalvik虚拟机上，Dalvik虚拟机执行.dex格式的文件，因此构建工具需要先通过java编译器将源文件编译成class文件，然后再转换为.dex格式。对于android应用所依赖到的android.jar已经在maven仓库中有了，但这仅仅是API的stub实现而已，所有类中的方法都会抛出runtime exception，因为android应用是运行在设备上的，是使用的运行环境中的库，maven仅通过这个jar包进行编译而已。&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2011/03/07/345897.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/345897.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2011-03-07 18:44 <a href="http://www.blogjava.net/askcuix/archive/2011/03/07/345897.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>SAXParseException: Content is not allowed in prolog</title><link>http://www.blogjava.net/askcuix/archive/2011/03/07/345896.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Mon, 07 Mar 2011 10:39:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2011/03/07/345896.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/345896.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2011/03/07/345896.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/345896.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/345896.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 最近在做一些批处理XML的项目，通过Spring Batch读取XML，然后将数据存入数据库。XML是客户方通过AS400的技术将数据读出并写入到文件的，我不了解AS400处理这类问题是不是很麻烦，每次XML需要做些变动的时候，客户总是表现的很为难，并且都是很久才能给到新的XML，还总是有这样那样的问题，甚至都不是一个有效的XML。这两天总算是改的差不多了，但遇到了好几次这样的exception: org.xml.sax.SAXParseException: Content is not allowed in prolog。以前也接触过不少XML，可是这种问题还真是没遇到过。 <br><br>出现这种问题，有几种可能性：&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2011/03/07/345896.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/345896.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2011-03-07 18:39 <a href="http://www.blogjava.net/askcuix/archive/2011/03/07/345896.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Mac使用技巧-iCal</title><link>http://www.blogjava.net/askcuix/archive/2010/06/02/322505.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Tue, 01 Jun 2010 16:09:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2010/06/02/322505.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/322505.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2010/06/02/322505.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/322505.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/322505.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: MAC中的iCal是个日历程序，iCal其实也是一个标准的名字，又称iCalendar，是一种标准的互联网日历格式，让用户能够在各种计算机和各种程序之间创建和共享电子日历。通过一些设置可以增加iCal对农历的支持，以及iCal和Google Calendar之间的同步，让我们可以更方便的使用iCal。&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2010/06/02/322505.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/322505.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2010-06-02 00:09 <a href="http://www.blogjava.net/askcuix/archive/2010/06/02/322505.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>使用ARA实现GlassFish中Web应用的资源分配</title><link>http://www.blogjava.net/askcuix/archive/2010/04/23/319210.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Fri, 23 Apr 2010 09:55:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2010/04/23/319210.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/319210.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2010/04/23/319210.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/319210.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/319210.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在企业级的应用中，经常会存在一些访问非常频繁的web应用，这些web模块很容易就会将GlassFish的HTTP Thread全部占满，这时其它的web应用就始终在queue中等待获取HTTP的connection，直至超时。在GlassFish中不能对web应用进行资源分配，如果是EJB组件，可以采取Request Partitioning的方式来分配模块所使用的资源，对于Web应用只有等到V3版本发布时才具备资源分配的功能了，对于SUN现在的局面，不知道要等到什么时候才会发布这个feature，好在已从SUN离职的Grizzly的开发者Jeanfrancois在V2中就已经实现了该功能，可以通过配置的方式实现web资源的分配。&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2010/04/23/319210.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/319210.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2010-04-23 17:55 <a href="http://www.blogjava.net/askcuix/archive/2010/04/23/319210.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>GlassFish移植Tips</title><link>http://www.blogjava.net/askcuix/archive/2010/03/23/316339.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Tue, 23 Mar 2010 09:30:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2010/03/23/316339.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/316339.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2010/03/23/316339.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/316339.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/316339.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 作为一款商用的Application Server，Weblogic确实非常成熟，非常强大，提供了很多特性，以帮助提高程序的运行效率，但是太笨重了，访问Admin Console极慢；GlassFish作为一款开源的Application Server，非常适合开发者使用，速度很快，并且严格遵照J2EE的标准，以达到平台独立的特性，但是确实简陋了点，只提供了最标准的实现，并且还存在一些明显的BUG，社区不够活跃，文档、资源都很少，可能是现在SUN处于动乱期，连商业Support都很难联系到。下面是我在做移植工作时，随笔记下来的一些小经验，让其他的同学们少受一些折磨，少踩一些坑。&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2010/03/23/316339.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/316339.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2010-03-23 17:30 <a href="http://www.blogjava.net/askcuix/archive/2010/03/23/316339.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>GlassFish Components</title><link>http://www.blogjava.net/askcuix/archive/2009/12/21/306820.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Mon, 21 Dec 2009 08:40:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2009/12/21/306820.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/306820.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2009/12/21/306820.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/306820.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/306820.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 本文对GlassFish的组件结构进行了较详细的描述。GlassFish由一个或多个domain组成，每个domain和一个administration server关联，并可包含0到多个standalone instance或者cluster。每个cluster有一个或多个同类型的instance，一个instance运行于一个单独的JVM 中，domain中的instance可运行在不同的物理机器上。&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2009/12/21/306820.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/306820.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2009-12-21 16:40 <a href="http://www.blogjava.net/askcuix/archive/2009/12/21/306820.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>StartUp Choice: ServletContextListener vs Servlet</title><link>http://www.blogjava.net/askcuix/archive/2009/11/03/300894.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Tue, 03 Nov 2009 06:46:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2009/11/03/300894.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/300894.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2009/11/03/300894.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/300894.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/300894.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 最近在做将项目从Weblogic移植到GlassFish的工作，遇到的其中一个比较头疼的问题就是Weblogic的LifeCycleManager。Weblogic提供了一个ApplicationLifecycleListener类可以在application部署和卸载时做一些工作，这是Weblogic独有的特性，并不是J2EE的规范。GlassFish中目前提供的LifeCycleListener不能满足该要求，它只能在GlassFish启动和停止的时候去做工作，而且，采用了这种方式，等于又将我们的应用绑定在了GlassFish上。最终决定采用ServletContextListener作为临时解决方案。&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2009/11/03/300894.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/300894.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2009-11-03 14:46 <a href="http://www.blogjava.net/askcuix/archive/2009/11/03/300894.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>GlassFish安装指南</title><link>http://www.blogjava.net/askcuix/archive/2009/10/27/299921.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Tue, 27 Oct 2009 07:18:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2009/10/27/299921.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/299921.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2009/10/27/299921.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/299921.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/299921.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: GlassFish安装使用指南.&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2009/10/27/299921.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/299921.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2009-10-27 15:18 <a href="http://www.blogjava.net/askcuix/archive/2009/10/27/299921.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>CXF客户端请求超时设置</title><link>http://www.blogjava.net/askcuix/archive/2009/10/22/299433.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Thu, 22 Oct 2009 14:41:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2009/10/22/299433.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/299433.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2009/10/22/299433.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/299433.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/299433.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在使用WebService时，我们通常都会在客户端中设置请求超时的限制，以避免长时间的去连接不可用的服务器。在CXF的环境中，提供了两个属性对客户端的超时限制进行配置。&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2009/10/22/299433.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/299433.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2009-10-22 22:41 <a href="http://www.blogjava.net/askcuix/archive/2009/10/22/299433.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Spring延迟加载EJB代理</title><link>http://www.blogjava.net/askcuix/archive/2009/09/07/294205.html</link><dc:creator>Chris.Cui</dc:creator><author>Chris.Cui</author><pubDate>Mon, 07 Sep 2009 10:02:00 GMT</pubDate><guid>http://www.blogjava.net/askcuix/archive/2009/09/07/294205.html</guid><wfw:comment>http://www.blogjava.net/askcuix/comments/294205.html</wfw:comment><comments>http://www.blogjava.net/askcuix/archive/2009/09/07/294205.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/askcuix/comments/commentRss/294205.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/askcuix/services/trackbacks/294205.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: 在Spring中提供了两个代理工厂Bean来代理EJB的访问： LocalStatelessSessionProxyFactoryBean和SimpleRemoteStatelessSessionProxyFactoryBean。当任何一个EJB代理工厂Bean在ApplicationContext中使用时，Bean工厂会预先实例化单实例的 Bean。这通常是一件好事，但它可能会导致EJB代理工厂Bean在EJB被绑定到名字服务之前，试图查找EJB的home接口。通过属性的设置，可确保这个EJB在装载时不会试图查找home接口，直到它首次被使用为止，这将会留有足够的时间来把EJB绑定到名称服务上。&nbsp;&nbsp;<a href='http://www.blogjava.net/askcuix/archive/2009/09/07/294205.html'>阅读全文</a><img src ="http://www.blogjava.net/askcuix/aggbug/294205.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/askcuix/" target="_blank">Chris.Cui</a> 2009-09-07 18:02 <a href="http://www.blogjava.net/askcuix/archive/2009/09/07/294205.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>