azizkhani.net

I know that I know nothing

install weblogic in mac

clock March 24, 2013 21:48 by author Administrator

alis-MacBook-Pro:~ aliakbarazizkhani$  cd /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
alis-MacBook-Pro:Home aliakbarazizkhani$ sudo mkdir -p jre/lib

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
alis-MacBook-Pro:Home aliakbarazizkhani$ cd jre/lib
alis-MacBook-Pro:lib aliakbarazizkhani$ sudo touch rt.jar
alis-MacBook-Pro:lib aliakbarazizkhani$ sudo touch core.jar
alis-MacBook-Pro:lib aliakbarazizkhani$ cd /azizkhani/software

java -Dspace.detection=false -Dos.name=unix -XX:MaxPermSize=512m -Xmx1024m -jar wls1035_generic.jar



run


export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

alis-MacBook-Pro:bin aliakbarazizkhani$ export MW_HOME=/azizkhani/Oracle/Middlewarea
alis-MacBook-Pro:bin aliakbarazizkhani$ export USER_MEM_ARGS="-Xmx1024m -XX:MaxPermSize=256m"
alis-MacBook-Pro:bin aliakbarazizkhani$ . /azizkhani/Oracle/Middleware/user_projects/domains/base_domain/bin/setDomainEnv.sh
alis-MacBook-Pro:base_domain aliakbarazizkhani$ . /azizkhani/Oracle/Middleware/user_projects/domains/base_domain/bin/startWeblogic.sh



Bulk fetching with Hibernate

clock March 20, 2013 13:40 by author Administrator


If you need to process large database result sets from Java you can opt for JDBC to give you the low level control required. On the other hand if you are already using an ORM in your application falling back to JDBC might imply some extra pain. You would be losing features such as optimistic locking, caching, automatic fetching when navigating the domain model and so forth. Fortunately most ORMs, like Hibernate, have some options to help you with that. While these techniques are not new, there are a couple of possibilities to choose from.

http://koenserneels.blogspot.be/2013/03/bulk-fetching-with-hibernate.html



kent beck new post

clock March 17, 2013 23:32 by author Administrator
  • point of the "code/code/fix/fix" vs "code/fix/code/fix" question wasn't which is "right", but identifying criteria to use when choosing;

 

  • when the first thing i want to do to address the complexity of a program is write a complexity analyzer, i've gone too inception. just clean;

 

  • they are both expensive, but mutable singletons are way worse than immutable singletons because they create temporal coupling;

 

  • if everyone agrees it's a problem, the fact that you've begun solving it is pretty much all the permission you need


About the author

 Welcome to this web site . This page has two purposes: Sharing information about my professional life such as articles, presentations, etc.
This website is also a place where I would like to share content I enjoy with the rest of the world. Feel free to take a look around, read my blog


Java,J2EE,Spring Framework,JQuery,

Hibernate,NoSql,Cloud,SOA,Rest WebService and Web Stack tech...

RecentPosts

Month List

Sign In