In order to invoke an EJB client, we need to invoke it through a context. As of following snippet
static public Context getInitialContext() throws Exception {
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, “weblogic.jndi.T3InitialContextFactory”);
p.put(”java.naming.security.principal”,”weblogic”);
p.put(”java.naming.security.credentials”, “weblogic”);
p.put(Context.PROVIDER_URL, url);
return new InitialContext(p);
}
In order to use T3InitialContextFactory ${WL_Home}\server\lib\weblogic.jar should be added to the classpath for smooth working of the InitialContext
Permalink
No Comments
There seems to be a lots of problems with working on weblogic as the passwords keep revolving all the time. Default username and password for weblogic application sever 10 is “weblogic” .
Permalink
No Comments
Here is a fantastic feature from Google which translates the whole page from one language to another. If you are stuck at some alien languages, this tool helps to tackle the problem all we have to do is to give the URL and it will be magically converted to the specified langua
ge. Here is way to go for that Translation tool

Permalink
No Comments
Google is the second Brain to many of us. We use it frequently. It uses
white screen which consumes higher power.
Read the following?
“If Google had a black screen, taking in account the huge number of page
views, according to calculations, 750 mega watts/hour per year would be
saved?!!!!!
In response Google created a black version of its search engine, called
Blackle, with the exact same functions as the white version, but obviously
with lower energy consumption:
Help spread the word.. Use ” www.blackle.com“…
Permalink
1 Comment
If you want the information to be read-only in word or any other MS Office software, there is a facility which makes this thing happen.
The trick lies in the tools menu. Go to Tools > Protect Document. There will be a menu asking of the kind of protection. If you give it as “Track Changes” then that will mark the changes in red. “Comment” will make the document read-only and wont allow any kind of changes after that.
The same option gets converted to “Unprotect” after protection is imposed. But this intern asks the same password.
Try your hands on the following document, and you will find another security trick in there.
Sample Document
Permalink
No Comments
Here is a gadget which allows you to observe live hit locations all around the globe. All you have to do is to go into http://maps.amung.us/ and then choose the customizations over the look. Now paste the code into your website.

Permalink
No Comments
Things are easy to manage memory while building applications using java.exe.
But while using ant for building big codes, we need to set the memory limit using a parameter ANT_OPTS
just set the above thing in environment variables and give the size as the value in the following fashion to get things going.
-Xmx<size>m
eg. set ANT_OPTS =-Xmx512m
in unix - setenv ANT_OPTS -Xmx768m
Permalink
No Comments

Blackwindow is a browser which in other ways, something more than a browser. This tech tool allows you to parse the websites through http as well as access to the directory structure which you may try getting by sending http request.
Moreover, there are options for scanning a website to get high availabilities or to download whole website in a swash. People creeping out for web based informative material watch it as a useful tool for browsing.
More Information
Download
Permalink
No Comments
Java’s new assertion mechanism, allows programmers to increase the robustness of their code by sprinkling it liberally with assert statements. The new assertion feature is easy to use, but any language feature, no matter how simple, can be used well or poorly. Here I’ll explain how to use Java’s assertion facility, and how not to misuse it.
Using assertions couldn’t be easier. Anywhere you can put a statement in Java, you can now write
assert boolExpr;
where boolExpr is any Boolean expression. If the expression is true, execution continues as if nothing happened. If it’s false, an exception is thrown. You can disable assertions at runtime if you wish, effectively removing them from your code.
Permalink
No Comments
There are many ways to defeat java-script protected web sites. Some are very simplistic, such as hitting ctl-alt-del when the password box is displayed, to simply turning off java capability, which will dump you into t he default page. 
Permalink
No Comments