technical

do it on client side

This post is regarding my previous one about hacking Axis 2. I was asked to try to use Handlers instead of my brilliant hack! Easy to say 😛kahovka-service.ru

I was googling trying to find any example how-to do it on client side. There is a plenty numbers  of examples for server side. In theory it should be easy – implement Handler interface and add it to particular phase in execution queue – easy? Yes! In practice not really 🙁

I wasn’t able to find any example how I should instruct Axis 2 client to use my handler. I found that I must create axis2.xml configuration file and put on class path, then Axis will auto-magically read that file and my handler will work! In practice it didn’t work, to inform Axis 2 base client that it should use that specific configuration I had to change the way how I was creating stubs.

I based my axis2.xml file on original one from main Axis 2 jar. I just removed classes that have been depending on JavaEE 5 (J2EE rulez!) to had everything up and running! I added my handler to OperationOutPhase phase – hopefully is the correct one 😀

The funny thing was that each time I started my WebLogic server my start up environment just blown up! After stopping server I had to reinstall it to be able to rebuild a project 😛

Anyway, my first approach got positive opinion and will be implemented! Uff… I could get rid of this whole Axis 2 custom configuration!

and the winner is

Me!Как бороться с недобросовестными вебмастерами. Кейс

Yep, I resolved that problem with Namespace optimization – basically I had to apply mentioned patch and upgrade Axiom to version 1.2.8. The error message I got previously was connected with old Axiom and they way how it was called from Axis 2. When you are using Axiom 1.2.7 you must change way how you are calling Axiom, see below – the second parameter has to be null (but this is the root of problems):

Using original idea from patch is to call that method like this:

but you must using the latest Axiom version which is 1.2.8. Problem with that solution is that we are using home made dependency management tool and it isn’t so easy to hack central repo 😉

Right now I’m looking into other solution – handlers! Axis 2 define a special way to connect your custom code with internal mechanisms, but it isn’t so clear for me how I could do that 😛

axis 2 and xmlbeans, speed reading, msdn

A new week and a new task!Men's Club – Онлайн Журнал

Basically I must optimize XML requests that we are sending to our web services from application. We are using Axis 2 to build out our web service clients from WSDL files and as a data binding technology we are using XmlBeans. The whole task is to create instance of XmlOptions class and used it  to serialize instances of defined XmlBeans documents. I’ve checked that with saving output to a file and it worked great, but … Clients based on Axis 2 are using dedicated class to serialize XmlBeans to XML structures. And it don’t care what you specify with XmlOptions 😛

I’ve been trying to find some solution to omit that limitations – what I found was to try modify a XSLT file that is used to generate classes during parsing WSDL files. I expected it should be quite easy and should be the simplest possible solution to solve my problem, but … the classes are generated as I expected but what I noticed during testing that nothing changed – XMLs were still the same 🙁

The next idea is to build custom HttpServletFilter to catch whole response and parse it back to XmlBeans, optimize and serialize back to XML and send to web service – not so efficient way 😉

I also started Speed reading course and my goal is to read 1000 words per minute! Right now I’m reading around 200 words per minute, so I have a lot of space to improve!

I forgot to mention that as a Apache committer I got a huge gift from Microsoft – a whole MSDN subscription package! Tones of tools, operating systems and other stuff! I need to find a way how to used them!

frozen zone

We’re again in frozen zone – project is going to production 😉

So I have a lot of spare time to improve my other skills, like learning GWT, studding books – Tony Buzan’s The Mind Set and so on.

I have a tricky question for you: why James Cameron made the Titanic ? Just watch his talk on TED and grab the answer

Another thing is GWT – sadly I discovered that not all widgets are presented with Widget Gallery, you have to look through API documentation to find them all – for example CaptionPanel 🙁

open code review

I was too lazy to write something interesting or even not 😉 This is over! I want to share a great idea we* introduce in our office – Open Code Review.

What’s that? It’s a quite simple process to have some fun and learn how a code should looks like. We’re spending one hour analysing and commenting a class source code from a open source project. We always have two teams (conference room doesn’t allow more 😉 ) that are working with piece of paper – yes, the source code is printed out, no IDE’s, no fancy tools support. All you have is your brain, piece of paper and a pen.

It can be a bit odd at the beginning but it gives you lot of fun, when you are able to make real comments, crossing the code and so on. The whole exercise is about building team spirit and in mean time you can grab a knowledge from more experienced collogues – knowledge spreading 😀

Till now we did two code reviews – the first one we called prototype to check if it’s make sense doing it. The second was the real exercise – with random attendees, with real code (maybe a bit to hard 😉 ), but all the reviewers were happy and they made lot of comments for future. So we have another good idea to introduce, stay tuned!

I forgot to mention that at the end all the comments and the code is put on our internal Wiki and announcement is sent to all office employees with some suggestions how to improve our work 😉

* we – I used “we” because I’m member of Architect board in the office.

Watch Full Movie Streaming And Download I’m Not Ashamed (2016) subtitle english

Poster Movie I'm Not Ashamed 2016

I’m Not Ashamed (2016) HD

Director : Brian Baugh.
Writer : Philipa Booyens, Robin Hanley, Kari Redmond, Bodie Thoene.
Release : October 21, 2016
Country : United States of America.
Production Company : Visible Pictures, All Entertainment.
Language : English.
Runtime : 112 min.
Genre : Drama.

Movie ‘I’m Not Ashamed’ was released in October 21, 2016 in genre Drama. Brian Baugh was directed this movie and starring by Masey McLain. This movie tell story about Based on the inspiring and powerful true story and journal entries of Rachel Joy Scott- the first student killed in the Columbine high school shooting in 1999.

Do not miss to Watch movie I’m Not Ashamed (2016) Online for free with your family. only 2 step you can Watch or download this movie with high quality video. Come and join us! because very much movie can you watch free streaming.

Watch movie online I'm Not Ashamed (2016)
Incoming search term :

Watch I’m Not Ashamed 2016 Online Free putlocker
Watch I’m Not Ashamed 2016 Online Free
I’m Not Ashamed 2016 Episodes Online
Watch I’m Not Ashamed 2016 Online Free megashare
I’m Not Ashamed 2016 For Free online
I’m Not Ashamed 2016 English Full Episodes Free Download
I’m Not Ashamed 2016 English Full Episodes Online Free Download
movie I’m Not Ashamed download
I’m Not Ashamed 2016 English Full Episodes Watch Online
movie I’m Not Ashamed 2016 streaming
Watch I’m Not Ashamed 2016 Online Free Putlocker
Watch I’m Not Ashamed 2016 Online Putlocker
streaming I’m Not Ashamed movie
I’m Not Ashamed live streaming movie
I’m Not Ashamed 2016 Full Episodes Online
film I’m Not Ashamed trailer
I’m Not Ashamed 2016 English Episodes
I’m Not Ashamed 2016 Full Episode
I’m Not Ashamed movie trailer
I’m Not Ashamed 2016 HD Full Episodes Online
Watch I’m Not Ashamed 2016 Online Megashare
I’m Not Ashamed 2016 Full Episodes Watch Online
streaming I’m Not Ashamed
I’m Not Ashamed 2016 Online Free Megashare
I’m Not Ashamed film trailer
I’m Not Ashamed 2016 Episodes Watch Online
download full film I’m Not Ashamed
I’m Not Ashamed 2016 Watch Online
I’m Not Ashamed 2016 English Episodes Free Watch Online
Watch I’m Not Ashamed 2016 Online Free Viooz
download movie I’m Not Ashamed
movie I’m Not Ashamed 2016 trailer
I’m Not Ashamed 2016 English Episode
live streaming movie I’m Not Ashamed
Watch I’m Not Ashamed 2016 Online Viooz
film I’m Not Ashamed download
I’m Not Ashamed 2016 movie streaming
I’m Not Ashamed 2016 movie
I’m Not Ashamed 2016 English Full Episodes Download
watch I’m Not Ashamed 2016 film now
I’m Not Ashamed 2016 HD English Full Episodes Download
watch full I’m Not Ashamed 2016 film
I’m Not Ashamed 2016 For Free Online

remote jee

The last two days I spent trying to implement common JEE pattern – EJB is working on application server (Glassfish) and client is a Web application on Tomcat – hopeless!

I’ve been trying many different ideas, I’ve read tones of articles on the Internet and non of them help me. Even the official Glassfish FAQ was useless.

The basic problems is that the Tomcat isn’t reading jar’s from shared/lib directory. It’s a bit strange because I’m using NetBeans and for it everything is ok. It’s seeing all needed libraries, I’ve also tried to implemented standalone client and I was able to launch it from command line with specified libraries. But using the same jar’s for Tomcat didn’t help! In my opinion isn’t possible to set up such connection. I think, I should give a try some other solution and try to implement the same with Jetty for example. It can be quite interesting comparison.

At this time I’m downloading the latest development version of NetBeans on my new PC at home and I will see!

Go to Top