`
george.gu
  • 浏览: 71168 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
Bad version number in .class file Mainly happened because of running Java class in a lower JDK version but it was compiled in higher JDK version.   How to Check Java Class Version Execute command as below to check java class details.   javap -classpath <your class path list> -verbose {C ...
  SMPP optional Parameters for concatenation and port addressing   SMPP concatenation related optional parameters: (sar_msg_ref_num, sar_total_segments,  sar_segment_seqnum)    SMPP port addressing related optional parameters for WAP application: (source_port,  destination_port) ...
SMPP provides for return of an SMSC delivery receipt via the deliver_sm or data_sm PDU, which indicates the delivery status of the message.   The informational content of an SMSC Delivery Receipt may be inserted into the short_message parameter of the deliver_sm operation. The format for this Del ...
Here I would like to list the problems I met during Spring application migartion from Weblogic server 9.2 to Weblogic Server 11g.   Hibernate cannot be loaded properly      [java] 11:53:29,008 ERROR [SessionFactoryImpl] Error in named query: DDFTree.findDeviceModelByDDFTree        [java] org.h ...
Hibenate configuration parameters Here is a general hibernate session configuration file:   hibernate.cfg.xml <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hi ...
I would like to summarize how we use acegi in our projects.   Recently, we plan to move acegi to spring security 3.0, i will list the problems here.
Subject:   /** * <p> A <code>Subject</code> represents a grouping of related information * for a single entity, such as a person. * Such information includes the Subject's identities as well as * its security-related attributes * (passwords and cryptographic keys, for ex ...
<<Professional Java Security>> is a wonderful guideline for java security developer. It covers the following topics, any problem please refer to the book: Overview of enterprise security issues, defining a security policy, Java security features, support for security in Java code (ac ...
Java Security Manager Java SecurityManager javadoc:     /** * The security manager is a class that allows * applications to implement a security policy. It allows an * application to determine, before performing a possibly unsafe or * sensitive operation, what the operation is and whet ...
During application design, there are always some requirements to assign unique identifer for specific Objects.   System MillSeconds + Radom Data base use Sequence use a column in table UUID/GUID Unique Identifier Generation in ORM How unique identifier generation in hibernate and ecl ...
org.apache.log4j.LogManager.java A singleton class implemented by a set of "static" properties and methods.   /** * Use the <code>LogManager</code> class to retreive {@link Logger} * instances or to operate on the current {@link * LoggerRepository}. When the <code> ...
  During system running, sometimes we can see the error message from log4j log:   log4j:ERROR Attempted to append to closed appender named [*].   Here I would like to talk about one use case which could cause this problem.   Most of the components in our project could use log4j, and some of th ...
OSWorkflow Reference OSWorkflow is now not maintenenced by provider. See more information from:    http://www.opensymphony.com/   Explain osworkflow basic concept and how to use osworkflow.     It is important to understand following concepts:   Functions and conditions Result and uncon ...

Java Threads

Some Concepts in Thread Control Here I would like to list some concepts I used to be not aware of. Daemon Threads Daemon threads are service providers for other threads running in the same process as the daemon thread. The run() method for a daemon thread is typically an infinite loop that waits f ...
Orm       Hibernate       Eclipselink Association mapping treatment Descript how both ORM manage association  
Global site tag (gtag.js) - Google Analytics