Quantcast
Channel: Java + Cloud + AI
Browsing all 12 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to use EJB 3 timer in a weblogic 10 cluster environment

Although there are some articles talking about EJB 3 timers or job schedulers , we were not able to find any detailed instructions on how to make EJB 3 timer work in a weblogic cluster. In this article...

View Article



How to Fix Java POJO Annotations

POJO and Annotation are a big part of the java world nowadays.  Spring, EJB, JPA, Servlet,  JSF and other technologies are using annotated POJOs. The traditional definition is that a POJO is an...

View Article

JPA NoResultException marks transaction rollback in WebLogic 10.3.2

The weblogic 10.3.2 server comes with two jpa implementations: eclipselink (org.eclipse.persistence_1.0.0.0_1-2-0.jar) and openjpa (org.apache.openjpa_1.0.1.0_1-1-1-SNAPSHOT.jar).  By default, it uses...

View Article

How to invoke local EJB session beans in WebLogic

Sometimes you may have a need to invoke a LOCAL EJB session beans in a normal java class, for example, Business Delegate class, you can use ServiceLocator to locate a local EJB session bean proxy by...

View Article

String getBytes could lead to difficult bugs

If you execute the following function,  what do you think should be the size of the 'def' byte array?The logic is really simple: an input as byte array that have two elements, then create a string out...

View Article


First impressions on open source ESBs

Used commercial ESB and BPMs for a couple of years, recently had a chance to evaluate some open source ESBs.WSO2:  not easy to use, had difficulty even making the sample projects to work. No DataMapper...

View Article

Compile xsl files and store in cache to improve XSLT performance

Common code found online to do XSLT transformation. (removed non essential pieces for brevity)------------------TransformerFactory transformerFactory = TransformerFactory.newInstance();Transformer...

View Article

Spring MVC UTF-8

Key pointsweb.xml:     <filter>     <filter-name>encodingFilter</filter-name>     <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>...

View Article


String valueOf() pitfalls

What will the console output of this program?public class TestStringValueOf {public static void main(String[] args) {testStringValueOfChar();}      public static void testStringValueOfChar() {char a =...

View Article


Machine Learning

Machine LearningPurpose    Machine Learning is to generalize.Classic Problem    Normal Programming: "Hello world"    Machine Learning:  MNISTApproach    Problems --> Tools--->Metrics  (apply to...

View Article

SQL vs NOSQL (DynamoDB)

This is not about the detailed comparison between SQL and NOSQL.  There are a lot of articles online already regarding this topic. This is about my experience with SQL and NOSQL. I primarily used...

View Article

AWS useful articles

 Lambda with RDS      https://www.jeremydaly.com/reuse-database-connections-aws-lambda/     https://www.jeremydaly.com/manage-rds-connections-aws-lambda/ Good part:     database connection management...

View Article
Browsing all 12 articles
Browse latest View live




Latest Images