Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6691843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:47:57+00:00 2026-05-26T05:47:57+00:00

Greetings, I am creating a Java based server to create push notifications for Apple’s

  • 0

Greetings,

I am creating a Java based server to create push notifications for Apple’s iOS APNs service. I have found Javapns on google code which seems to provide a simple basic framework to communicate with APNs, and which seems to be fairly wide used.

http://code.google.com/p/javapns/

However, reading Apple’s docs, there is an “enhanced format” for notifications which supports “expiry” i.e. setting a time (well, in seconds) for a notification to expire if it hasn’t yet been delivered. I do not see any way to set this using Javapns, and I am unsure how the APNs service handles expiry of notifications if you do not explicitly set it. So,

  1. Does anyone know how to support the enhanced notification format of APNs specifically how to set the expiry?
  2. Does anyone know how Apple handles notification expiry if it isn’t explicitly set?
  3. Does anyone have any suggestions that don’t require me to start from scratch, as the server is currently functional as is?

Thanks in advance.

Andrew

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:47:57+00:00Added an answer on May 26, 2026 at 5:47 am

    I have recently made substantial contributions to the JavaPNS project, which lead to the release of JavaPNS 2.0 a few days ago. That version provides full support for the enhanced notification format, including the ability to set your own expiry.

    Sylvain

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Greetings, I would like to ask if creating Singleton to have only one active
Greetings: I have put together a RESTful web service in .NET 3.5 that takes
Greetings, creating my first MVVM based WPF app and trying to figure out why
Greetings! I'm creating a User Control that will display data in a GridView control.
Greetings! I'm creating a web form prototype (ImageLaoder.aspx) that will return an image so
Greetings, The VBA code below will create an Excel QueryTable object and display it
I follow tutorial here on how to create web service using RESTful web service
Greetings - I could use some with creating a linq to entities statement that
Greetings, The question relates to ASP.NET MVC I am creating some divs dynamically using
Greetings! I'm trying to have a UIWebView controlled from generated events. Is there a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.