JavaPins - Latest published stories
1
Pins

Writing modules for Play 2, part 1: Get something working | Objectify

published 247 days, 10 hours, 4 minutes ago posted by anishaanisha 250 days, 7 hours, 45 minutes ago
Monday, September 17, 2012 4:48:51 PM GMT Friday, September 14, 2012 7:08:40 PM GMT
A couple of weeks ago, I migrated the Play! framework 1.x version of Deadbolt to the Play 2 platform, and was surprised at the lack of information on creating modules. This topic was covered in detail in the Play 1.x docs, and this made creating modules very simple. Clearly, something needed to be done – and so this is the first in a three-part series on creating modules and plugins for Play 2. (more)
category: Java EE | clicked: 1 | comment | | source: www.objectify.be
tags: modules, play 2
1
Pins

An Up/Down control in jQuery | The Simple Part

published 247 days, 10 hours, 4 minutes ago posted by anishaanisha 250 days, 6 hours, 56 minutes ago
Monday, September 17, 2012 4:48:51 PM GMT Friday, September 14, 2012 7:57:09 PM GMT
Recently, I needed to write an up/down selector – you know the sort, it’s where you select a number by clicking on an up or down arrow. Since they can be useful for other things besides numbers, I gave it the plugin treatment. Most of the information about the plugin can be found in its documentation page. (more)
category: Ajax | clicked: 2 | comment | | source: karlagius.com
tags: jquery, up-down control
1
Pins

How to set up Integration testing with the Maven Cargo plugin | baeldung

published 247 days, 10 hours, 4 minutes ago posted by anishaanisha 250 days, 8 hours, 41 minutes ago
Monday, September 17, 2012 4:48:51 PM GMT Friday, September 14, 2012 6:11:55 PM GMT
A very common need in the lifecycle of a project is setting up integration testing. Luckily, Maven has built-in support for this exact scenario, with the following phases of the default build lifecycle (from the Maven documentation):pre-integration-test: Perform actions required before integration tests are executed. This may involve things such as setting up the required environment. (more)
category: Java EE | clicked: 0 | comment | | source: www.baeldung.com
tags: Integration Testing, maven cargo, Plugin
1
Pins

Grails: Deploying apps on CloudBees | icodeya

published 247 days, 10 hours, 4 minutes ago posted by anishaanisha 250 days, 7 hours, 54 minutes ago
Monday, September 17, 2012 4:48:51 PM GMT Friday, September 14, 2012 6:59:15 PM GMT
What is Cloudbees? Cloudbees is a platform that allows developers to quickly and easily deploy their java applications on the cloud. In my experience, I found cloudbees much easier to manage simply because of its user friendly and straightforward user interface. Another great thing about it is that most of the basic things needed in deployment is FREE! (more)
category: Java EE | clicked: 0 | comment | | source: www.icodeya.com
tags: Apps, cloudbee, Deploy, Grails
1
Pins

Publishing Play 2 modules on github | Objectify

published 247 days, 10 hours, 4 minutes ago posted by anishaanisha 250 days, 7 hours, 48 minutes ago
Monday, September 17, 2012 4:48:51 PM GMT Friday, September 14, 2012 7:05:28 PM GMT
Now you’ve doubtless followed my earlierguides on writing modules for Play 2, I imagine you’re keen to show your coding chops to the world. The problem is – and this is quite a big one, I’m afraid – there is no place to publish your modules to. When I first starting writing Play modules, the repository was already set-up and ready to go – however, (more)
category: Java EE | clicked: 0 | comment | | source: www.objectify.be
tags: github, Play 2.0
1
Pins

Writing modules for Play 2, part 2: Interceptors | Objectify

published 247 days, 10 hours, 4 minutes ago posted by anishaanisha 250 days, 7 hours, 45 minutes ago
Monday, September 17, 2012 4:48:51 PM GMT Friday, September 14, 2012 7:08:00 PM GMT
In the first part of this tutorial, we looked at the bare basics for creating, publishing and calling a module. The module we created didn’t really do much, so now it’s time to look at expaning the functionality using some of Play’s features.1. Interceptors Interceptors allow you to intercept calls to controllers, and augment or block their behaviour. (more)
category: Java EE | clicked: 0 | comment | | source: www.objectify.be
tags: Interceptors, modules, play 2
1
Pins

Make JFrame transparent « harryjoy

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 251 days, 8 hours, 13 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Thursday, September 13, 2012 6:40:39 PM GMT
How to create a slider for JFrame transparency and make JFrame transparent accordingly? First create a frame that has a slider in it which will be used to set transparency amount. (more)
category: Java EE | clicked: 3 | comment | | source: harryjoy.com
tags: JFrame, Transparent
1
Pins

Simple REST client in java « harryjoy

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 7 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:46:27 PM GMT
3 Comments Today most of the mobile applications that used to communicate to some server use REST services. These services are also common practice to use with JavaScript or jQuery. Right now I know 2 ways to create client for REST service in java and in this article I will try to demonstrate both the ways I know hoping that it will help someone in some way. (more)
category: Java EE | clicked: 14 | comment | | source: harryjoy.com
tags: Java, REST client
1
Pins

Improve your life Through Science and Art: Flex: Two Way Data Binding in Flex 4

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 46 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:07:00 PM GMT
Data binding is among the most common UI programming tasks. Although the open-source Flex framework has supported data binding since its inception, the latest Flex 4 SDK adds two-way data binding as well. This tutorial illustrates two-way data binding in Flex 4. (more)
category: Java EE | clicked: 2 | comment | | source: tamanmohamed.blogspot.in
tags: Flex, two way binding
1
Pins

Improve your life Through Science and Art: Glassfish 3.0: Web service result encoding problem ( invalid byte 2 of 2-byte utf-8 sequence) solution

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 55 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 5:57:54 PM GMT
I have developed JEE 6 enterprise application with 2 web modules and EJB3 exposed as web service. Application deployed successfully on the glassfish v3.0.1 and when viewing the WSDL everything is okay. (more)
category: Java EE | clicked: 2 | comment | | source: tamanmohamed.blogspot.in
tags: encoding problem, Glassfish 3.0, Web Services
1
Pins

Improve your life Through Science and Art: Database: SQLite connection from Java

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 55 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 5:58:45 PM GMT
Class.forName("org.sqlite.JDBC") ;connection = DriverManager.getConnection("jdbc:sqlite:D:\testdb.db "); (more)
category: Java EE | clicked: 1 | comment | | source: tamanmohamed.blogspot.in
tags: Connection, Java, Sqlite
1
Pins

Improve your life Through Science and Art: App. Server: Two Way SSL Java EE Servers

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 50 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:03:08 PM GMT
Introduction: This blog describes the main concept of the mutual SSL or two ways SSL between two different java EE servers. Also describes how to implements SSL connection between weblogic  11g (client) and websphere 6.1 (server).Overview:The following diagram (fig: 1-1) illustrates the process of mutual SSL between client and server. (more)
category: Java EE | clicked: 2 | comment | | source: tamanmohamed.blogspot.in
tags: java EE server, Two way SSL
1
Pins

Improve your life Through Science and Art: JSF: Navigating between JSF pages programmatically

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 49 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:04:11 PM GMT
publicclassNavigationHandler {  publicvoidnavigate(String navigateTo){     FacesContext fctx = FacesContext.getCurrentInstance();     Application application = fctx.getApplication();     NavigationHandler navHandler = application.getNavigationHandler();     navHandler.handleNavigation(fctx,null, "name of navigation case");  }} (more)
category: JSF | clicked: 10 | comment | | source: tamanmohamed.blogspot.in
tags: JSF pages, Navigation
2
Pins

JBoss AS 7 classloading explained - Java Code Geeks

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 13 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:40:37 PM GMT
This is a sample chapter taken from JBoss AS 7 Configuration Deployment and Administration book edited by Francesco Marchioni who is running a JBoss focused portal named mastertheboss.com. (more)
category: Java EE | clicked: 10 | comment | | source: www.javacodegeeks.com
tags: classloading, JBossAS7
1
Pins

Tutorial: Getting started with scala and scalatra - Part I | Smartjava.org

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 7 hours, 54 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:59:02 PM GMT
Search formSearch (more)
category: Java EE | clicked: 2 | comment | | source: www.smartjava.org
tags: Scala, scalatra
1
Pins

Tutorial: Getting started with scala and scalatra - Part II | Smartjava.org

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 7 hours, 53 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 7:00:10 PM GMT
In the previous part of the tutorial we created a simple application from scratch and setup Eclipse so we could edit the scala files for scalatra. In this second part of the tutorial you'll learn how to do the following: How to start scalatra with embedded Jetty for easy testing and debugging Create a simple REST API that returns JSON data Test your service using specs2 (more)
category: Java EE | clicked: 6 | comment | | source: www.smartjava.org
tags: Scala, scalatra
1
Pins

Remote firefox debugging on android | Smartjava.org

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 7 hours, 51 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 7:02:20 PM GMT
In the previous article I wrote about remote debugging web applications using chrome on Android. If you don't want to use chrome or you want to test and debug your application on a different mobile browser you can also use firefox mobile to debug (and use FF15+ on the desktop). The process is pretty much the same as for chrome. (more)
category: Smart Client | clicked: 1 | comment | | source: www.smartjava.org
tags: Android, firefox, Remote Debugging
1
Pins

Improve your life Through Science and Art: Database: Part1- Date&Time Arithmetic with Oracle 10

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 48 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:04:59 PM GMT
Overview If you store date and time information in Oracle, you have two different options for the column's datatype - DATE and TIMESTAMP. DATE is the datatype that we are all familiar with when we think about representing date and time values. It has the ability to store the month, day, year, century, hours, minutes, and seconds. (more)
category: SQL | clicked: 1 | comment | | source: tamanmohamed.blogspot.in
tags: Date, oracle 10, Time
1
Pins

Improve your life Through Science and Art: Database: Part 2 - Date&Time Arithmetic with Oracle 10

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 48 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:05:37 PM GMT
Formatting of the TIMESTAMP datatype Formatting of the new TIMESTAMP datatype is the same as formatting the DATE datatype. Beware while the TO_CHAR function works with both datatypes, the TRUNC function will not work with a datatype of TIMESTAMP. This is a clear indication that the use of TIMESTAMP datatype should explicitly be used for date and times.. (more)
category: SQL | clicked: 0 | comment | | source: tamanmohamed.blogspot.in
tags: Date, oracle 10, Time
1
Pins

Improve your life Through Science and Art: JDeveloper: Top 10 Shortcuts

published 250 days, 16 hours, 52 minutes ago posted by anishaanisha 253 days, 8 hours, 47 minutes ago
Friday, September 14, 2012 10:00:52 AM GMT Tuesday, September 11, 2012 6:06:11 PM GMT
Find Usages Ctrl+Alt+UGo To Java Type Ctrl+MinusGo To File Ctrl+Alt+MinusShow Overview Ctrl+Shift+ Back QuoteExtract Method Ctrl+Alt+XIntroduce Variable Ctrl+Alt+VRun Project F11Debug Project Shift+F9Quick JavaDocCtrl+DReformat Ctrl+Alt+LFind Usages (Ctrl+Alt+U) : This is pretty much the shortcut i use all the time. This helps you to find the uses of a method or class in the project or application. (more)
category: Java EE | clicked: 0 | comment | | source: tamanmohamed.blogspot.in
tags: Jdeveloper, Shortcuts
Previous 1 2 ... 5 6 7 8 9 10 11 12 13 14 ... 144 145 Next