Profile cover photo
Profile photo
lakshman udayakantha
456 followers -
I like to think about new things. I love my country.
I like to think about new things. I love my country.

456 followers
About
Communities and Collections
View all
Posts

Post has attachment
Boost the speed of calculating Large Primes with Golang
Following points are used 1. Check whether the last digit of the integer can be divided by 2 or not 2. Check whether the sum of all digits of the integer can be divided by 3 or not 3. Check whether the last digit of the integer can be divided by 5 or not 4....
Add a comment...

Post has attachment
Check last JRE access time
JRE will create and update a file in a directory called  oracle_jre_usage located  in Windows :  %ProgramData%\Oracle\Java\.oracle_jre-usage\ All other operating systems:  ${user.home}/.oracle_jre_usage/ ex: I have used ubuntu 18.04. So when I start intelli...
Add a comment...

Post has attachment
PDF generation with Apache FOP
What is Apache FOP? Apache FOP is a print formatter driven by XSL formatting objects(XSL-FO). It is a library to read XSL FO objects and generate documents with specified output format. Here I have used pdf as the output format. What is XSL? XSL is a langua...
PDF generation with Apache FOP
PDF generation with Apache FOP
lakitechtips.blogspot.com
Add a comment...

Post has attachment
JDBC drivers and connection strings
Recently I was fixing a bug in gadget creation in WSO2 DAS 3.1.0 in which gadget creation throws errors on some database types. So I have to check for major database types for gadget creation and I came up with following database drivers and connection stri...
JDBC drivers and connection strings
JDBC drivers and connection strings
lakitechtips.blogspot.com
Add a comment...

Post has attachment
[Java] Simple wait and notify example
This example demonstrate wait and notify example. Main thread(ThreadA) will create threadB and will start threadB. After threadB started, it just print that it is started and will go to WAITING state by calling wait(). Meanwhile threadA goes to sleep for 3 ...
Add a comment...

Post has attachment
Customize the place where tomcat instance creating for wso2 4.4.x servers
WSO2 4.4.x servers run on an OSGIfied tomcat. It creates the tomcat instance on <CARBON_HOME>/lib/tomcat directory. You can customize this path to your own one by changing the property " catalina.base " in wso2server.sh.
Add a comment...

Post has attachment
Send user attributes to web app using SAML SSO in WSO2 Application Server 6.0.0
WSO2 Application server 6.0.0 is a pure tomcat plus libraries to support WSO2 platform. It includes a utility component to host web apps with SAML SSO using WSO2 identity server. You can find more information how to setup SAML SSO using  Accessing Applicati...
Add a comment...

Post has attachment
Policy add using Rest API in WSO2 EMM
You can add a policy using REST API given in EMM. For the use the dynamic registration client given. below sample curl command will return client id and secret curl -k -H "Content-Type: application/json" -X POST -d '{"owner":"admin","clientName":"admin_emm"...
Add a comment...

Post has attachment
Application Whitelist and Blacklist Feature in WSO2 EMM
It can be white listed and black listed applications in WSO2 EMM 2.1.0 onwards. What is Application White List? White listed applications are the only applications that allowed run on device. Any other application which does not appear on the list will not ...
Add a comment...

Post has attachment
WSO2 APP Manager and WSO2 Mobile Device Manager integration
There are two separate cases for APPM and MDM integration 1. APPM and MDM on a single JVM. ex : MDM standalone pack. 2. APPM and MDM on separate JVMs. ex : clustered scenario For the first case, MDM standalone vanilla pack should work without changing any c...
Add a comment...
Wait while more posts are being loaded